| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 IPC_STRUCT_TRAITS_END() | 46 IPC_STRUCT_TRAITS_END() |
| 47 | 47 |
| 48 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot) | 48 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::DeathDataSnapshot) |
| 49 IPC_STRUCT_TRAITS_MEMBER(count) | 49 IPC_STRUCT_TRAITS_MEMBER(count) |
| 50 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum) | 50 IPC_STRUCT_TRAITS_MEMBER(run_duration_sum) |
| 51 IPC_STRUCT_TRAITS_MEMBER(run_duration_max) | 51 IPC_STRUCT_TRAITS_MEMBER(run_duration_max) |
| 52 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample) | 52 IPC_STRUCT_TRAITS_MEMBER(run_duration_sample) |
| 53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum) | 53 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sum) |
| 54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) | 54 IPC_STRUCT_TRAITS_MEMBER(queue_duration_max) |
| 55 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) | 55 IPC_STRUCT_TRAITS_MEMBER(queue_duration_sample) |
| 56 IPC_STRUCT_TRAITS_MEMBER(alloc_ops) |
| 57 IPC_STRUCT_TRAITS_MEMBER(free_ops) |
| 58 IPC_STRUCT_TRAITS_MEMBER(allocated_bytes) |
| 59 IPC_STRUCT_TRAITS_MEMBER(freed_bytes) |
| 60 IPC_STRUCT_TRAITS_MEMBER(alloc_overhead_bytes) |
| 61 IPC_STRUCT_TRAITS_MEMBER(max_allocated_bytes) |
| 56 IPC_STRUCT_TRAITS_END() | 62 IPC_STRUCT_TRAITS_END() |
| 57 | 63 |
| 58 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) | 64 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::TaskSnapshot) |
| 59 IPC_STRUCT_TRAITS_MEMBER(birth) | 65 IPC_STRUCT_TRAITS_MEMBER(birth) |
| 60 IPC_STRUCT_TRAITS_MEMBER(death_data) | 66 IPC_STRUCT_TRAITS_MEMBER(death_data) |
| 61 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) | 67 IPC_STRUCT_TRAITS_MEMBER(death_thread_name) |
| 62 IPC_STRUCT_TRAITS_END() | 68 IPC_STRUCT_TRAITS_END() |
| 63 | 69 |
| 64 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) | 70 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::ProcessDataPhaseSnapshot) |
| 65 IPC_STRUCT_TRAITS_MEMBER(tasks) | 71 IPC_STRUCT_TRAITS_MEMBER(tasks) |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // memory. | 223 // memory. |
| 218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, | 224 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
| 219 discardable_memory::DiscardableSharedMemoryId) | 225 discardable_memory::DiscardableSharedMemoryId) |
| 220 | 226 |
| 221 #if defined(OS_LINUX) | 227 #if defined(OS_LINUX) |
| 222 // Asks the browser to change the priority of thread. | 228 // Asks the browser to change the priority of thread. |
| 223 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, | 229 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, |
| 224 base::PlatformThreadId, | 230 base::PlatformThreadId, |
| 225 base::ThreadPriority) | 231 base::ThreadPriority) |
| 226 #endif | 232 #endif |
| OLD | NEW |