summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-05 03:27:46 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-05 03:27:46 +0000
commit10fe40c9c1598fc2eb3c09180c3cb5a2b5798338 (patch)
tree558dc63ce317134b137151ac4ffe04a6c181703d /chrome/common
parent0c5ae79a9446f853a941dc47b01a167532c6c8c7 (diff)
downloadchromium_src-10fe40c9c1598fc2eb3c09180c3cb5a2b5798338.zip
chromium_src-10fe40c9c1598fc2eb3c09180c3cb5a2b5798338.tar.gz
chromium_src-10fe40c9c1598fc2eb3c09180c3cb5a2b5798338.tar.bz2
Changes to upload tracked_objects data from all renderer
processes to browser process. Added the following messages to render_messages. ChromeViewMsg_GetRendererTrackedData - Asks the renderer to send back tracked data (ThreadData in tracked_objects). ChromeViewMsg_SetTrackingStatus - Asks the renderer to set the tracking status. ChromeViewHostMsg_RendererTrackedData - render's Send back tracked data (ThreadData in tracked_objects) as a string. ChromeViewHostMsg_IsTrackingEnabled - Asks Browser process to set the current tracking status from browser in the render. BUG=101933 R=jar TEST=browser tests Review URL: http://codereview.chromium.org/8413009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/render_messages.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 633b7e3..7c063e6 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -257,6 +257,14 @@ IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats)
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 set the tracking status.
+IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetTrackingStatus,
+ bool /* tracking 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.
IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup,
@@ -512,6 +520,16 @@ IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RendererHistograms,
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. */
+ 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
+// that sent this message.
+IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_IsTrackingEnabled)
+
#if defined USE_TCMALLOC
// Send back tcmalloc stats output.
IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_RendererTcmalloc,