Chromium Code Reviews| Index: content/common/child_process_messages.h |
| =================================================================== |
| --- content/common/child_process_messages.h (revision 111617) |
| +++ content/common/child_process_messages.h (working copy) |
| @@ -5,6 +5,8 @@ |
| // Common IPC messages used for child processes. |
| // Multiply-included message file, hence no include guard. |
| +#include "base/process.h" |
|
jam
2011/11/28 15:17:34
not needed
ramant (doing other things)
2011/11/29 01:32:20
Done.
|
| +#include "base/values.h" |
|
jam
2011/11/28 15:17:34
nit: order
ramant (doing other things)
2011/11/29 01:32:20
Done.
|
| #include "base/shared_memory.h" |
| #include "content/common/content_export.h" |
| #include "googleurl/src/gurl.h" |
| @@ -41,6 +43,16 @@ |
| // Sent to all child processes to get trace buffer fullness. |
| IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) |
| +// Tell the child process to enable or disable the profiler status. |
| +IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, |
| + bool /* profiler status */) |
| + |
| +// Send to all the child processes to send back profiler data (ThreadData in |
| +// tracked_objects). |
| +IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, |
| + int, /* sequence number. */ |
| + std::string /* pickled Value of process type. */) |
| + |
| // Sent to child processes to dump their handle table. |
| IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) |
| @@ -67,6 +79,11 @@ |
| IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, |
| float /*trace buffer percent full*/) |
| +// Send back profiler data (ThreadData in tracked_objects). |
| +IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildProfilerData, |
| + int, /* sequence number. */ |
| + DictionaryValue /* profiler data. */) |
| + |
| // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete. |
| IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone) |