#ifndef JCEF_DEBUGINFO_H #define JCEF_DEBUGINFO_H #include #include #include class DebugInfo { public: static void addInfoProvider(std::function infoProvider); static std::string getInfo(int tabs); static std::string getMeasures(int tabs); static void addMeasure(const std::string & name, int64_t value); private: static std::vector> INFO_PROVIDERS; }; #endif // JCEF_DEBUGINFO_H