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

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

Issue 2768403002: Revert of Add enable_ipc_logging build argument (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/content_ipc_logging.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
14 #include "base/tracked_objects.h" 14 #include "base/tracked_objects.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "cc/resources/shared_bitmap_manager.h" 17 #include "cc/resources/shared_bitmap_manager.h"
18 #include "content/common/content_export.h" 18 #include "content/common/content_export.h"
19 #include "content/common/content_param_traits_macros.h" 19 #include "content/common/content_param_traits_macros.h"
20 #include "gpu/command_buffer/common/sync_token.h" 20 #include "gpu/command_buffer/common/sync_token.h"
21 #include "gpu/ipc/common/gpu_param_traits_macros.h" 21 #include "gpu/ipc/common/gpu_param_traits_macros.h"
22 #include "ipc/ipc_channel_handle.h" 22 #include "ipc/ipc_channel_handle.h"
23 #include "ipc/ipc_features.h"
24 #include "ipc/ipc_message_macros.h" 23 #include "ipc/ipc_message_macros.h"
25 #include "ipc/ipc_platform_file.h" 24 #include "ipc/ipc_platform_file.h"
26 #include "ui/gfx/gpu_memory_buffer.h" 25 #include "ui/gfx/gpu_memory_buffer.h"
27 #include "ui/gfx/ipc/gfx_param_traits.h" 26 #include "ui/gfx/ipc/gfx_param_traits.h"
28 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 27 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
29 28
30 #if defined(OS_LINUX) 29 #if defined(OS_LINUX)
31 #include "base/threading/platform_thread.h" 30 #include "base/threading/platform_thread.h"
32 #endif 31 #endif
33 32
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 84 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
86 85
87 #define IPC_MESSAGE_START ChildProcessMsgStart 86 #define IPC_MESSAGE_START ChildProcessMsgStart
88 87
89 // Messages sent from the browser to the child process. 88 // Messages sent from the browser to the child process.
90 89
91 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child 90 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child
92 // process that it's safe to shutdown. 91 // process that it's safe to shutdown.
93 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown) 92 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)
94 93
95 #if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) 94 #if defined(IPC_MESSAGE_LOG_ENABLED)
96 // Tell the child process to begin or end IPC message logging. 95 // Tell the child process to begin or end IPC message logging.
97 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled, 96 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
98 bool /* on or off */) 97 bool /* on or off */)
99 #endif 98 #endif
100 99
101 // Tell the child process to enable or disable the profiler status. 100 // Tell the child process to enable or disable the profiler status.
102 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, 101 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus,
103 tracked_objects::ThreadData::Status /* profiler status */) 102 tracked_objects::ThreadData::Status /* profiler status */)
104 103
105 // Send to all the child processes to send back profiler data (ThreadData in 104 // Send to all the child processes to send back profiler data (ThreadData in
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // Release the cached font 170 // Release the cached font
172 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 171 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
173 #endif // defined(OS_WIN) 172 #endif // defined(OS_WIN)
174 173
175 #if defined(OS_LINUX) 174 #if defined(OS_LINUX)
176 // Asks the browser to change the priority of thread. 175 // Asks the browser to change the priority of thread.
177 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority, 176 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_SetThreadPriority,
178 base::PlatformThreadId, 177 base::PlatformThreadId,
179 base::ThreadPriority) 178 base::ThreadPriority)
180 #endif 179 #endif
OLDNEW
« no previous file with comments | « content/common/child_process_host_impl.cc ('k') | content/common/content_ipc_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698