Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Common IPC messages used for child processes. | 5 // Common IPC messages used for child processes. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "googleurl/src/gurl.h" | 8 #include "googleurl/src/gurl.h" |
| 9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 29 IPC_MESSAGE_CONTROL2(ChildProcessMsg_BeginTracing, | 29 IPC_MESSAGE_CONTROL2(ChildProcessMsg_BeginTracing, |
| 30 std::vector<std::string> /* included_categories */, | 30 std::vector<std::string> /* included_categories */, |
| 31 std::vector<std::string> /* excluded_categories */) | 31 std::vector<std::string> /* excluded_categories */) |
| 32 | 32 |
| 33 // Sent to all child processes to disable trace event recording. | 33 // Sent to all child processes to disable trace event recording. |
| 34 IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) | 34 IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) |
| 35 | 35 |
| 36 // Sent to all child processes to get trace buffer fullness. | 36 // Sent to all child processes to get trace buffer fullness. |
| 37 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) | 37 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) |
| 38 | 38 |
| 39 // Sent to child processes to dump their handle table. | |
| 40 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) | |
| 41 | |
| 42 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete. | |
| 43 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone) | |
|
jam
2011/09/19 17:10:48
ChildProcessHostMsg messages are at the bottom of
Cris Neckar
2011/09/20 01:22:15
Done.
| |
| 44 | |
| 39 //////////////////////////////////////////////////////////////////////////////// | 45 //////////////////////////////////////////////////////////////////////////////// |
| 40 // Messages sent from the child process to the browser. | 46 // Messages sent from the child process to the browser. |
| 41 | 47 |
| 42 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) | 48 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest) |
| 43 | 49 |
| 44 // Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false). | 50 // Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false). |
| 45 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_EndTracingAck, | 51 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_EndTracingAck, |
| 46 std::vector<std::string> /* known_categories */) | 52 std::vector<std::string> /* known_categories */) |
| 47 | 53 |
| 48 // Sent if the trace buffer becomes full. | 54 // Sent if the trace buffer becomes full. |
| 49 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) | 55 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull) |
| 50 | 56 |
| 51 // Child processes send trace data back in JSON chunks. | 57 // Child processes send trace data back in JSON chunks. |
| 52 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, | 58 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, |
| 53 std::string /*json trace data*/) | 59 std::string /*json trace data*/) |
| 54 | 60 |
| 55 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. | 61 // Reply to ChildProcessMsg_GetTraceBufferPercentFull. |
| 56 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, | 62 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, |
| 57 float /*trace buffer percent full*/) | 63 float /*trace buffer percent full*/) |
| OLD | NEW |