| 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 29 matching lines...) Expand all Loading... |
| 40 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) | 40 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) |
| 41 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) | 41 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) |
| 42 IPC_STRUCT_TRAITS_END() | 42 IPC_STRUCT_TRAITS_END() |
| 43 | 43 |
| 44 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) | 44 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) |
| 45 IPC_STRUCT_TRAITS_MEMBER(birth) | 45 IPC_STRUCT_TRAITS_MEMBER(birth) |
| 46 IPC_STRUCT_TRAITS_MEMBER(death_data) | 46 IPC_STRUCT_TRAITS_MEMBER(death_data) |
| 47 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) | 47 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) |
| 48 IPC_STRUCT_TRAITS_END() | 48 IPC_STRUCT_TRAITS_END() |
| 49 | 49 |
| 50 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ParentChildPairSnapshot) | |
| 51 IPC_STRUCT_TRAITS_MEMBER(parent) | |
| 52 IPC_STRUCT_TRAITS_MEMBER(child) | |
| 53 IPC_STRUCT_TRAITS_END() | |
| 54 | |
| 55 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) | 50 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) |
| 56 IPC_STRUCT_TRAITS_MEMBER(tasks) | 51 IPC_STRUCT_TRAITS_MEMBER(tasks) |
| 57 IPC_STRUCT_TRAITS_MEMBER(descendants) | |
| 58 IPC_STRUCT_TRAITS_END() | 52 IPC_STRUCT_TRAITS_END() |
| 59 | 53 |
| 60 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot) | 54 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataSnapshot) |
| 61 IPC_STRUCT_TRAITS_MEMBER(phased_snapshots) | 55 IPC_STRUCT_TRAITS_MEMBER(phased_snapshots) |
| 62 IPC_STRUCT_TRAITS_MEMBER(process_id) | 56 IPC_STRUCT_TRAITS_MEMBER(process_id) |
| 63 IPC_STRUCT_TRAITS_END() | 57 IPC_STRUCT_TRAITS_END() |
| 64 | 58 |
| 65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, | 59 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, |
| 66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) | 60 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) |
| 67 | 61 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 IPC_SYNC_MESSAGE_CONTROL2_1( | 205 IPC_SYNC_MESSAGE_CONTROL2_1( |
| 212 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, | 206 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
| 213 uint32 /* size */, | 207 uint32 /* size */, |
| 214 content::DiscardableSharedMemoryId, | 208 content::DiscardableSharedMemoryId, |
| 215 base::SharedMemoryHandle) | 209 base::SharedMemoryHandle) |
| 216 | 210 |
| 217 // Informs the browser that the child deleted a block of discardable shared | 211 // Informs the browser that the child deleted a block of discardable shared |
| 218 // memory. | 212 // memory. |
| 219 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 213 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 220 content::DiscardableSharedMemoryId) | 214 content::DiscardableSharedMemoryId) |
| OLD | NEW |