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

Unified Diff: third_party/WebKit/Source/core/timing/Performance.cpp

Issue 2238883005: POC for InspectorInstrumentation adding InspectorWebPerfAgent Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add task observer to WebPerfAgent Created 4 years, 4 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/timing/Performance.cpp
diff --git a/third_party/WebKit/Source/core/timing/Performance.cpp b/third_party/WebKit/Source/core/timing/Performance.cpp
index 8b236f6a17d02988229c54ca22ea9e3099acbee9..220147e36c6c24551628fb56949c667a127aaeef 100644
--- a/third_party/WebKit/Source/core/timing/Performance.cpp
+++ b/third_party/WebKit/Source/core/timing/Performance.cpp
@@ -92,6 +92,11 @@ PerformanceTiming* Performance::timing() const
return m_timing.get();
}
+void Performance::enableInspectorInstrumentation() const
+{
+ frame()->enableWebPerfInspectorInstrumentation();
pfeldman 2016/08/17 21:12:11 ... which you call here.
+}
+
DEFINE_TRACE(Performance)
{
visitor->trace(m_navigation);

Powered by Google App Engine
This is Rietveld 408576698