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) |