Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, | 96 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, |
| 97 bool /* on or off */) | 97 bool /* on or off */) |
| 98 #endif | 98 #endif |
| 99 | 99 |
| 100 // Tell the child process to enable or disable the profiler status. | 100 // Tell the child process to enable or disable the profiler status. |
| 101 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, | 101 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, |
| 102 tracked_objects::ThreadData::Status /* profiler status */) | 102 tracked_objects::ThreadData::Status /* profiler status */) |
| 103 | 103 |
| 104 // Send to all the child processes to send back profiler data (ThreadData in | 104 // Send to all the child processes to send back profiler data (ThreadData in |
| 105 // tracked_objects). | 105 // tracked_objects). |
| 106 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, | 106 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, |
| 107 int /* sequence_number */) | 107 int /* sequence_number */, |
| 108 int /* current_profiling_phase */) | |
| 109 | |
| 110 // Send to all the child processes to send back profiler data (ThreadData in | |
| 111 // tracked_objects). | |
|
Ilya Sherman
2015/04/07 01:15:31
Why is this comment the same as the one above? Ho
vadimt
2015/04/07 21:44:14
Done.
| |
| 112 IPC_MESSAGE_CONTROL1(ChildProcessMsg_OnProfilingPhase, | |
|
Ilya Sherman
2015/04/07 01:15:31
nit: "OnProfilingPhase" -> "ProfilingPhaseComplete
vadimt
2015/04/07 21:44:14
Done.
vadimt
2015/04/07 21:44:15
Done.
| |
| 113 int /* profiling_phase */) | |
| 108 | 114 |
| 109 // Send to all the child processes to send back histogram data. | 115 // Send to all the child processes to send back histogram data. |
| 110 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, | 116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, |
| 111 int /* sequence_number */) | 117 int /* sequence_number */) |
| 112 | 118 |
| 113 // Sent to child processes to dump their handle table. | 119 // Sent to child processes to dump their handle table. |
| 114 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) | 120 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) |
| 115 | 121 |
| 116 // Sent to child processes to tell them to enter or leave background mode. | 122 // Sent to child processes to tell them to enter or leave background mode. |
| 117 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, | 123 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 205 IPC_SYNC_MESSAGE_CONTROL2_1( | 211 IPC_SYNC_MESSAGE_CONTROL2_1( |
| 206 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 212 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 207 uint32 /* size */, | 213 uint32 /* size */, |
| 208 content::DiscardableSharedMemoryId, | 214 content::DiscardableSharedMemoryId, |
| 209 base::SharedMemoryHandle) | 215 base::SharedMemoryHandle) |
| 210 | 216 |
| 211 // Informs the browser that the child deleted a block of discardable shared | 217 // Informs the browser that the child deleted a block of discardable shared |
| 212 // memory. | 218 // memory. |
| 213 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 219 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 214 content::DiscardableSharedMemoryId) | 220 content::DiscardableSharedMemoryId) |
| OLD | NEW |