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

Unified Diff: chrome/common/render_messages.h

Issue 8588023: Collect profiler stats from browser child processes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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: chrome/common/render_messages.h
===================================================================
--- chrome/common/render_messages.h (revision 110669)
+++ chrome/common/render_messages.h (working copy)
@@ -238,13 +238,14 @@
IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererHistograms,
int /* sequence number of Renderer Histograms. */)
-// Asks the renderer to send back tracked data (ThreadData in tracked_objects).
-IPC_MESSAGE_CONTROL1(ChromeViewMsg_GetRendererTrackedData,
- int /* sequence number of Renderer tracked data. */)
+// Asks the renderer to send back profiler data (ThreadData in tracked_objects).
+IPC_MESSAGE_CONTROL2(ChromeViewMsg_GetRendererProfilerData,
+ int, /* sequence number of Renderer profiler data. */
+ std::string /* pickled Value containing profiler data. */)
-// Asks the renderer to set the tracking status.
-IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetTrackingStatus,
- bool /* tracking status */)
+// Asks the renderer to set the profiler status.
+IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetProfilerStatus,
+ bool /* profiler status */)
// Tells the renderer to create a FieldTrial, and by using a 100% probability
// for the FieldTrial, forces the FieldTrial to have assigned group name.
@@ -479,15 +480,15 @@
int, /* sequence number of Renderer Histograms. */
std::vector<std::string>)
-// Send back tracked data (ThreadData in tracked_objects) as a pickled string.
-IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererTrackedData,
- int, /* sequence number of Renderer tracked data. */
+// Send back profiler data (ThreadData in tracked_objects) as a pickled string.
+IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererProfilerData,
+ int, /* sequence number of Renderer profiler data. */
std::string /* pickled Value containing profile data. */)
-// Check if tracking is enabled in browser process or not. Browser process
-// responds by sending ChromeViewMsg_SetTrackingStatus message to the process
+// Check if profiler is enabled in browser process or not. Browser process
+// responds by sending ChromeViewMsg_SetProfilerStatus message to the process
// that sent this message.
-IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled)
+IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsProfilerEnabled)
#if defined USE_TCMALLOC
// Send back tcmalloc stats output.

Powered by Google App Engine
This is Rietveld 408576698