Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLogAgent.h

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorLogAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.h b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.h
index 014fa96db0c3f1b9605f126468a0b4fa723cf3f8..f74645a81571e2147ed64c76eb9c6b2d8558c0da 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.h
@@ -13,13 +13,14 @@ namespace blink {
class ConsoleMessage;
class ConsoleMessageStorage;
+class PerformanceMonitor;
class CORE_EXPORT InspectorLogAgent
: public InspectorBaseAgent<protocol::Log::Metainfo> {
WTF_MAKE_NONCOPYABLE(InspectorLogAgent);
public:
- explicit InspectorLogAgent(ConsoleMessageStorage*);
+ explicit InspectorLogAgent(ConsoleMessageStorage*, PerformanceMonitor*);
~InspectorLogAgent() override;
DECLARE_VIRTUAL_TRACE();
@@ -36,6 +37,7 @@ class CORE_EXPORT InspectorLogAgent
private:
bool m_enabled;
Member<ConsoleMessageStorage> m_storage;
+ Member<PerformanceMonitor> m_performanceMonitor;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698