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

Unified Diff: content/common/devtools_messages.h

Issue 106223002: chrome power profiler chrome side changes (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years 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 9154aaf2b53f92d910c8ef35eda0d8bce633c6c8..6c7f49ee6243b13b2c0f04e84c73f095c76f4825 100644
--- a/content/common/devtools_messages.h
+++ b/content/common/devtools_messages.h
@@ -135,6 +135,21 @@ IPC_STRUCT_END()
IPC_MESSAGE_ROUTED1(DevToolsAgentMsg_GpuTasksChunk,
std::vector<GpuTaskInfo> /* gpu_tasks */)
+// These are messages sent from DevToolsClient to browser to control power
+// profile
+
+IPC_MESSAGE_ROUTED0(DevToolsHostMsg_PowerProfileSupported)
pfeldman 2014/01/09 11:38:58 Should be a part of protocol.
+
+// Start power profile
+IPC_MESSAGE_ROUTED0(DevToolsHostMsg_StartPowerProfile)
+
+// Stop power profile
+IPC_MESSAGE_ROUTED0(DevToolsHostMsg_StopPowerProfile)
+
+// Set power profile resolution
+IPC_MESSAGE_ROUTED1(DevToolsHostMsg_SetPowerProfileResolution,
+ unsigned /* resolution */)
+
//-----------------------------------------------------------------------------
// These are messages sent from the inspected page renderer to the worker
// renderer.

Powered by Google App Engine
This is Rietveld 408576698