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

Unified Diff: content/common/devtools_messages.h

Issue 511873002: DevTools: use explicit IPC messages for enabling/disabling tracing instead of intercepting protocol… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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: content/common/devtools_messages.h
diff --git a/content/common/devtools_messages.h b/content/common/devtools_messages.h
index 3e148640d45382101ff5dc2a02471a2f82552d24..151d88f2bb3258666c531d39a3cfb5ba76354916 100644
--- a/content/common/devtools_messages.h
+++ b/content/common/devtools_messages.h
@@ -114,6 +114,13 @@ IPC_MESSAGE_ROUTED1(DevToolsHostMsg_DispatchOnEmbedder,
IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SaveAgentRuntimeState,
std::string /* state */)
+// Tells the host to enable trace event recording.
+IPC_MESSAGE_ROUTED1(DevToolsHostMsg_EnableTracing,
+ std::string /* category_filter */)
+
+// Tells the host to disable trace event recording.
+IPC_MESSAGE_ROUTED0(DevToolsHostMsg_DisableTracing)
+
//-----------------------------------------------------------------------------
// These are messages sent from the GPU process to the inspected renderer.
« no previous file with comments | « content/browser/devtools/render_view_devtools_agent_host.cc ('k') | content/renderer/devtools/devtools_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698