diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 22:27:55 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-18 22:27:55 +0000 |
commit | d61e096b7e834877db979e73064b24f40a860ff4 (patch) | |
tree | d114570b4eabd7219686a1a19c5f463cd267e45b /content/common/child_process_messages.h | |
parent | fbfa76496e247f4a57858e4f3c0e6bd517b59352 (diff) | |
download | chromium_src-d61e096b7e834877db979e73064b24f40a860ff4.zip chromium_src-d61e096b7e834877db979e73064b24f40a860ff4.tar.gz chromium_src-d61e096b7e834877db979e73064b24f40a860ff4.tar.bz2 |
event trace plumbing for multi-process support
related review:
http://codereview.chromium.org/6691013/
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6694004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78768 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r-- | content/common/child_process_messages.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h index 6130999..ac26b18 100644 --- a/content/common/child_process_messages.h +++ b/content/common/child_process_messages.h @@ -25,10 +25,24 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, bool /* on or off */) #endif +// Sent to all child processes to enable trace event recording. +IPC_MESSAGE_CONTROL0(ChildProcessMsg_BeginTracing) + +// Sent to all child processes to disable trace event recording. +IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) + +//////////////////////////////////////////////////////////////////////////////// // Messages sent from the child process to the browser. IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) +// Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false). +IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_EndTracingAck) + +// Child processes send trace data back in JSON chunks. +IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, + std::string /*json trace data*/) + // Get the list of proxies to use for |url|, as a semicolon delimited list // of "<TYPE> <HOST>:<PORT>" | "DIRECT". IPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy, |