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

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

Issue 1875023002: Remove ChildProcessMsg_SetMojoParentPipeHandle message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/browser/browser_child_process_host_impl.cc ('k') | no next file » | 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>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int /* shm_size */) 111 int /* shm_size */)
112 112
113 // Send to all the child processes to send back histogram data. 113 // Send to all the child processes to send back histogram data.
114 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildNonPersistentHistogramData, 114 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildNonPersistentHistogramData,
115 int /* sequence_number */) 115 int /* sequence_number */)
116 116
117 // Sent to child processes to tell them to enter or leave background mode. 117 // Sent to child processes to tell them to enter or leave background mode.
118 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 118 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
119 bool /* background */) 119 bool /* background */)
120 120
121 // Sends a pipe used by the child process to broker passing of Mojo handles.
122 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle,
123 IPC::PlatformFileForTransit /* handle */)
124
125 //////////////////////////////////////////////////////////////////////////////// 121 ////////////////////////////////////////////////////////////////////////////////
126 // Messages sent from the child process to the browser. 122 // Messages sent from the child process to the browser.
127 123
128 // A renderer sends this when it wants to create a connection to the GPU 124 // A renderer sends this when it wants to create a connection to the GPU
129 // process. The browser will create the GPU process if necessary, and will 125 // process. The browser will create the GPU process if necessary, and will
130 // return a handle to the channel via a GpuChannelEstablished message. 126 // return a handle to the channel via a GpuChannelEstablished message.
131 IPC_SYNC_MESSAGE_CONTROL1_3(ChildProcessHostMsg_EstablishGpuChannel, 127 IPC_SYNC_MESSAGE_CONTROL1_3(ChildProcessHostMsg_EstablishGpuChannel,
132 content::CauseForGpuLaunch, 128 content::CauseForGpuLaunch,
133 int /* client id */, 129 int /* client id */,
134 IPC::ChannelHandle /* handle to channel */, 130 IPC::ChannelHandle /* handle to channel */,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 IPC_SYNC_MESSAGE_CONTROL2_1( 206 IPC_SYNC_MESSAGE_CONTROL2_1(
211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 207 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
212 uint32_t /* size */, 208 uint32_t /* size */,
213 content::DiscardableSharedMemoryId, 209 content::DiscardableSharedMemoryId,
214 base::SharedMemoryHandle) 210 base::SharedMemoryHandle)
215 211
216 // Informs the browser that the child deleted a block of discardable shared 212 // Informs the browser that the child deleted a block of discardable shared
217 // memory. 213 // memory.
218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 214 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
219 content::DiscardableSharedMemoryId) 215 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698