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 |
11 #include "base/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
12 #include "base/tracked_objects.h" | 12 #include "base/tracked_objects.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "ipc/ipc_message_macros.h" | 15 #include "ipc/ipc_message_macros.h" |
16 | 16 |
17 IPC_ENUM_TRAITS(tracked_objects::ThreadData::Status) | 17 IPC_ENUM_TRAITS(tracked_objects::ThreadData::Status) |
18 | 18 |
19 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) | 19 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) |
20 IPC_STRUCT_TRAITS_MEMBER(file_name) | 20 IPC_STRUCT_TRAITS_MEMBER(file_name) |
21 IPC_STRUCT_TRAITS_MEMBER(function_name) | 21 IPC_STRUCT_TRAITS_MEMBER(function_name) |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // fill in and pass back to the browser. | 131 // fill in and pass back to the browser. |
132 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, | 132 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, |
133 uint32 /* buffer size */, | 133 uint32 /* buffer size */, |
134 base::SharedMemoryHandle) | 134 base::SharedMemoryHandle) |
135 | 135 |
136 #if defined(USE_TCMALLOC) | 136 #if defined(USE_TCMALLOC) |
137 // Reply to ChildProcessMsg_GetTcmallocStats. | 137 // Reply to ChildProcessMsg_GetTcmallocStats. |
138 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, | 138 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, |
139 std::string /* output */) | 139 std::string /* output */) |
140 #endif | 140 #endif |
OLD | NEW |