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

Side by Side Diff: ipc/mojo/ipc.mojom

Issue 2069803003: Fold //ipc/mojo into //ipc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-deps
Patch Set: Try fix mac tests. Created 4 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 module IPC.mojom;
6
7 struct SerializedHandle {
8 handle the_handle;
9
10 enum Type {
11 MOJO_HANDLE,
12 PLATFORM_FILE,
13 WIN_HANDLE,
14 MACH_PORT,
15 };
16
17 Type type;
18 };
19
20 interface Channel {
21 Receive(array<uint8> data, array<SerializedHandle>? handles);
22 };
23
24 // An interface for connecting a pair of Channel interfaces representing a
25 // bidirectional IPC channel.
26 interface Bootstrap {
27 // Initializes a Chrome IPC channel over |to_client_channel| and
28 // |to_server_channel|. Each side also sends its PID to the other side.
29 Init(associated Channel& to_client_channel,
30 associated Channel to_server_channel,
31 int32 pid) => (int32 pid);
32 };
OLDNEW
« ipc/mojo/BUILD.gn ('K') | « ipc/mojo/BUILD.gn ('k') | ipc/mojo/ipc_channel_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698