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

Side by Side Diff: ipc/ipc.mojom

Issue 2231133002: Revert of Eliminate kMojoChannelToken usage for render processes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/child/child_thread_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module IPC.mojom; 5 module IPC.mojom;
6 6
7 struct SerializedHandle { 7 struct SerializedHandle {
8 handle the_handle; 8 handle the_handle;
9 9
10 enum Type { 10 enum Type {
(...skipping 14 matching lines...) Expand all
25 // Informs the remote end of this client's PID. Must be called exactly once, 25 // Informs the remote end of this client's PID. Must be called exactly once,
26 // before any calls to Receive() below. 26 // before any calls to Receive() below.
27 SetPeerPid(int32 pid); 27 SetPeerPid(int32 pid);
28 28
29 // Transmits a classical Chrome IPC message. 29 // Transmits a classical Chrome IPC message.
30 Receive(array<uint8> data, array<SerializedHandle>? handles); 30 Receive(array<uint8> data, array<SerializedHandle>? handles);
31 31
32 // Requests a Channel-associated interface. 32 // Requests a Channel-associated interface.
33 GetAssociatedInterface(string name, associated GenericInterface& request); 33 GetAssociatedInterface(string name, associated GenericInterface& request);
34 }; 34 };
35
36 // A strictly nominal interface used to identify Channel bootstrap requests.
37 interface ChannelBootstrap {};
OLDNEW
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698