| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, | 95 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, |
| 96 bool /* on or off */) | 96 bool /* on or off */) |
| 97 #endif | 97 #endif |
| 98 | 98 |
| 99 // Tell the child process to enable or disable the profiler status. | 99 // Tell the child process to enable or disable the profiler status. |
| 100 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, | 100 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, |
| 101 tracked_objects::ThreadData::Status /* profiler status */) | 101 tracked_objects::ThreadData::Status /* profiler status */) |
| 102 | 102 |
| 103 // Send to all the child processes to send back profiler data (ThreadData in | 103 // Send to all the child processes to send back profiler data (ThreadData in |
| 104 // tracked_objects). | 104 // tracked_objects). |
| 105 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildProfilerData, | 105 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, |
| 106 int /* sequence_number */) | 106 int /* sequence_number */, |
| 107 int /* current_profiling_phase */) |
| 108 |
| 109 // Send to all the child processes to send back profiler data (ThreadData in |
| 110 // tracked_objects). |
| 111 IPC_MESSAGE_CONTROL1(ChildProcessMsg_OnProfilingPhase, |
| 112 int /* profiling_phase */) |
| 107 | 113 |
| 108 // Send to all the child processes to send back histogram data. | 114 // Send to all the child processes to send back histogram data. |
| 109 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, | 115 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, |
| 110 int /* sequence_number */) | 116 int /* sequence_number */) |
| 111 | 117 |
| 112 // Sent to child processes to dump their handle table. | 118 // Sent to child processes to dump their handle table. |
| 113 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) | 119 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) |
| 114 | 120 |
| 115 // Sent to child processes to tell them to enter or leave background mode. | 121 // Sent to child processes to tell them to enter or leave background mode. |
| 116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, | 122 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, | 204 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
| 199 gfx::GpuMemoryBufferId, | 205 gfx::GpuMemoryBufferId, |
| 200 uint32 /* sync_point */) | 206 uint32 /* sync_point */) |
| 201 | 207 |
| 202 // Asks the browser to create a block of discardable shared memory for the | 208 // Asks the browser to create a block of discardable shared memory for the |
| 203 // child process. | 209 // child process. |
| 204 IPC_SYNC_MESSAGE_CONTROL1_1( | 210 IPC_SYNC_MESSAGE_CONTROL1_1( |
| 205 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 206 uint32 /* size */, | 212 uint32 /* size */, |
| 207 base::SharedMemoryHandle) | 213 base::SharedMemoryHandle) |
| OLD | NEW |