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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 254303002: Add devtools trace events for Timeline Program notification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.cpp
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
index 19452d4586794d85e075d849d691ba1b709a69eb..e27e8b837a2fdcbef726fbb548988305f24e8607 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -675,6 +675,7 @@ void WebDevToolsAgentImpl::willProcessTask()
return;
if (InspectorController* ic = inspectorController())
ic->willProcessTask();
+ TRACE_EVENT_BEGIN0(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Program");
}
void WebDevToolsAgentImpl::didProcessTask()
@@ -683,6 +684,7 @@ void WebDevToolsAgentImpl::didProcessTask()
return;
if (InspectorController* ic = inspectorController())
ic->didProcessTask();
+ TRACE_EVENT_END0(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Program");
flushPendingFrontendMessages();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698