OLD | NEW |
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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 // An interface for connecting a pair of Channel interfaces representing a | 24 // An interface for connecting a pair of Channel interfaces representing a |
25 // bidirectional IPC channel. | 25 // bidirectional IPC channel. |
26 interface Bootstrap { | 26 interface Bootstrap { |
27 // Initializes a Chrome IPC channel over |to_client_channel| and | 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. | 28 // |to_server_channel|. Each side also sends its PID to the other side. |
29 Init(associated Channel& to_client_channel, | 29 Init(associated Channel& to_client_channel, |
30 associated Channel to_server_channel, | 30 associated Channel to_server_channel, |
31 int32 pid) => (int32 pid); | 31 int32 pid) => (int32 pid); |
32 }; | 32 }; |
OLD | NEW |