Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: content/common/child_process_messages.h

Issue 1936093003: Fix gpu_video_decode_accelerator include order by renaming enum with X11 name collision (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Status->ThreadStatus Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 13 matching lines...) Expand all
24 #include "ipc/ipc_channel_handle.h" 24 #include "ipc/ipc_channel_handle.h"
25 #include "ipc/ipc_message_macros.h" 25 #include "ipc/ipc_message_macros.h"
26 #include "ipc/ipc_platform_file.h" 26 #include "ipc/ipc_platform_file.h"
27 #include "ui/gfx/gpu_memory_buffer.h" 27 #include "ui/gfx/gpu_memory_buffer.h"
28 #include "ui/gfx/ipc/gfx_param_traits.h" 28 #include "ui/gfx/ipc/gfx_param_traits.h"
29 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 29 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
30 30
31 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch, 31 IPC_ENUM_TRAITS_MAX_VALUE(content::CauseForGpuLaunch,
32 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1) 32 content::CAUSE_FOR_GPU_LAUNCH_MAX_ENUM - 1)
33 33
34 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::Status, 34 IPC_ENUM_TRAITS_MAX_VALUE(tracked_objects::ThreadData::ThreadStatus,
35 tracked_objects::ThreadData::STATUS_LAST) 35 tracked_objects::ThreadData::STATUS_LAST)
36 36
37 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot) 37 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::LocationSnapshot)
38 IPC_STRUCT_TRAITS_MEMBER(file_name) 38 IPC_STRUCT_TRAITS_MEMBER(file_name)
39 IPC_STRUCT_TRAITS_MEMBER(function_name) 39 IPC_STRUCT_TRAITS_MEMBER(function_name)
40 IPC_STRUCT_TRAITS_MEMBER(line_number) 40 IPC_STRUCT_TRAITS_MEMBER(line_number)
41 IPC_STRUCT_TRAITS_END() 41 IPC_STRUCT_TRAITS_END()
42 42
43 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::BirthOnThreadSnapshot) 43 IPC_STRUCT_TRAITS_BEGIN(tracked_objects::BirthOnThreadSnapshot)
44 IPC_STRUCT_TRAITS_MEMBER(location) 44 IPC_STRUCT_TRAITS_MEMBER(location)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown) 82 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)
83 83
84 #if defined(IPC_MESSAGE_LOG_ENABLED) 84 #if defined(IPC_MESSAGE_LOG_ENABLED)
85 // Tell the child process to begin or end IPC message logging. 85 // Tell the child process to begin or end IPC message logging.
86 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, 86 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
87 bool /* on or off */) 87 bool /* on or off */)
88 #endif 88 #endif
89 89
90 // Tell the child process to enable or disable the profiler status. 90 // Tell the child process to enable or disable the profiler status.
91 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, 91 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus,
92 tracked_objects::ThreadData::Status /* profiler status */) 92 tracked_objects::ThreadData::ThreadStatus
93 /* profiler status */)
93 94
94 // Send to all the child processes to send back profiler data (ThreadData in 95 // Send to all the child processes to send back profiler data (ThreadData in
95 // tracked_objects). 96 // tracked_objects).
96 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, 97 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData,
97 int /* sequence_number */, 98 int /* sequence_number */,
98 int /* current_profiling_phase */) 99 int /* current_profiling_phase */)
99 100
100 // Send to all the child processes to mark the current profiling phase as 101 // Send to all the child processes to mark the current profiling phase as
101 // finished and start a new phase. 102 // finished and start a new phase.
102 IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted, 103 IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 IPC_SYNC_MESSAGE_CONTROL2_1( 207 IPC_SYNC_MESSAGE_CONTROL2_1(
207 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 208 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
208 uint32_t /* size */, 209 uint32_t /* size */,
209 content::DiscardableSharedMemoryId, 210 content::DiscardableSharedMemoryId,
210 base::SharedMemoryHandle) 211 base::SharedMemoryHandle)
211 212
212 // Informs the browser that the child deleted a block of discardable shared 213 // Informs the browser that the child deleted a block of discardable shared
213 // memory. 214 // memory.
214 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 215 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
215 content::DiscardableSharedMemoryId) 216 content::DiscardableSharedMemoryId)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698