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

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

Issue 1468993003: [Eraser] Remove chrome://tcmalloc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/child/child_thread_impl.cc ('k') | content/content_browser.gypi » ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 int /* profiling_phase */) 113 int /* profiling_phase */)
114 114
115 // Send to all the child processes to send back histogram data. 115 // Send to all the child processes to send back histogram data.
116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData, 116 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
117 int /* sequence_number */) 117 int /* sequence_number */)
118 118
119 // Sent to child processes to tell them to enter or leave background mode. 119 // Sent to child processes to tell them to enter or leave background mode.
120 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 120 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
121 bool /* background */) 121 bool /* background */)
122 122
123 #if defined(USE_TCMALLOC)
124 // Sent to child process to request tcmalloc stats.
125 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTcmallocStats)
126 #endif
127
128 #if defined(OS_MACOSX) 123 #if defined(OS_MACOSX)
129 // Sent to child processes to tell them what token to use when registering 124 // Sent to child processes to tell them what token to use when registering
130 // and/or acquiring IOSurfaces. 125 // and/or acquiring IOSurfaces.
131 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken, 126 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIOSurfaceManagerToken,
132 content::IOSurfaceManagerToken /* token */) 127 content::IOSurfaceManagerToken /* token */)
133 #endif 128 #endif
134 129
135 #if defined(USE_OZONE) 130 #if defined(USE_OZONE)
136 // Sent to child processes to initialize ClientNativePixmapFactory using 131 // Sent to child processes to initialize ClientNativePixmapFactory using
137 // a device file descriptor. 132 // a device file descriptor.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 uint32 /* buffer size */, 184 uint32 /* buffer size */,
190 base::SharedMemoryHandle, 185 base::SharedMemoryHandle,
191 cc::SharedBitmapId) 186 cc::SharedBitmapId)
192 187
193 // Informs the browser that the child deleted a shared bitmap. 188 // Informs the browser that the child deleted a shared bitmap.
194 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap, 189 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedSharedBitmap,
195 cc::SharedBitmapId) 190 cc::SharedBitmapId)
196 191
197 #if defined(USE_TCMALLOC) 192 #if defined(USE_TCMALLOC)
198 // Reply to ChildProcessMsg_GetTcmallocStats. 193 // Reply to ChildProcessMsg_GetTcmallocStats.
199 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, 194 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
Primiano Tucci (use gerrit) 2015/11/24 10:18:03 I think you want to remove this as well.
Ruud van Asseldonk 2015/11/24 11:10:37 Done, good catch.
200 std::string /* output */) 195 std::string /* output */)
201 #endif 196 #endif
202 197
203 // Asks the browser to create a gpu memory buffer. 198 // Asks the browser to create a gpu memory buffer.
204 IPC_SYNC_MESSAGE_CONTROL5_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer, 199 IPC_SYNC_MESSAGE_CONTROL5_1(ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
205 gfx::GpuMemoryBufferId /* new_id */, 200 gfx::GpuMemoryBufferId /* new_id */,
206 uint32 /* width */, 201 uint32 /* width */,
207 uint32 /* height */, 202 uint32 /* height */,
208 gfx::BufferFormat, 203 gfx::BufferFormat,
209 gfx::BufferUsage, 204 gfx::BufferUsage,
210 gfx::GpuMemoryBufferHandle) 205 gfx::GpuMemoryBufferHandle)
211 206
212 // Informs the browser that the child deleted a gpu memory buffer. 207 // Informs the browser that the child deleted a gpu memory buffer.
213 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, 208 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
214 gfx::GpuMemoryBufferId, 209 gfx::GpuMemoryBufferId,
215 gpu::SyncToken /* sync_token */) 210 gpu::SyncToken /* sync_token */)
216 211
217 // Asks the browser to create a block of discardable shared memory for the 212 // Asks the browser to create a block of discardable shared memory for the
218 // child process. 213 // child process.
219 IPC_SYNC_MESSAGE_CONTROL2_1( 214 IPC_SYNC_MESSAGE_CONTROL2_1(
220 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 215 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
221 uint32 /* size */, 216 uint32 /* size */,
222 content::DiscardableSharedMemoryId, 217 content::DiscardableSharedMemoryId,
223 base::SharedMemoryHandle) 218 base::SharedMemoryHandle)
224 219
225 // Informs the browser that the child deleted a block of discardable shared 220 // Informs the browser that the child deleted a block of discardable shared
226 // memory. 221 // memory.
227 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 222 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
228 content::DiscardableSharedMemoryId) 223 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698