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

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

Issue 2343553005: enable / disable Long Task instrumentation based on presence of LongTask observer (Closed)
Patch Set: decouple enable / disable observer from ctor / dtor, to prevent the issue of tasks getting reported… Created 4 years, 3 months 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/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 467bf8a9832f11fea567feaef9c984128d004a4b..af74f39fe3e689b6df5059be7e42e9bb121f0154 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -29,6 +29,9 @@ public:
~InspectorWebPerfAgent();
DECLARE_VIRTUAL_TRACE();
+ void enableObserver();
+ void disableObserver();
+
void willExecuteScript(ExecutionContext*);
void didExecuteScript();

Powered by Google App Engine
This is Rietveld 408576698