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

Unified Diff: content/common/child_process_messages.h

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/child_process_messages.h
===================================================================
--- content/common/child_process_messages.h (revision 140625)
+++ content/common/child_process_messages.h (working copy)
@@ -5,6 +5,9 @@
// Common IPC messages used for child processes.
// Multiply-included message file, hence no include guard.
+#include <string>
+#include <vector>
+
#include "base/shared_memory.h"
#include "base/tracked_objects.h"
#include "base/values.h"
@@ -89,6 +92,10 @@
IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData,
int /* sequence number */)
jam 2012/06/07 03:34:33 nit: the convention is to put the parameter name f
ramant (doing other things) 2012/06/07 23:39:25 Done.
+// Send to all the child processes to send back histogram data.
+IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
+ int /* sequence number */)
+
// Sent to child processes to dump their handle table.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
@@ -125,6 +132,11 @@
int, /* sequence number */
tracked_objects::ProcessDataSnapshot /* profiler data */)
+// Send back histograms as vector of pickled-histogram strings.
+IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildHistogramData,
+ int, /* sequence number */
+ std::vector<std::string> /* histogram data */)
+
// Reply to ChildProcessMsg_DumpHandles when handle table dump is complete.
IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone)

Powered by Google App Engine
This is Rietveld 408576698