| 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 ui.mojom; | 5 module ui.mojom; |
| 6 | 6 |
| 7 // See IPC::ChannelHandle in src/ipc/ipc_channel_handle.h | 7 // See IPC::ChannelHandle in src/ipc/ipc_channel_handle.h |
| 8 struct ChannelHandle { | 8 struct ChannelHandle { |
| 9 string name; | 9 string name; |
| 10 | 10 |
| 11 // On POSIX, it is one endpoint of a socket pair. On Windows, it is not used. | 11 // On POSIX, it is one endpoint of a socket pair. On Windows, it is not used. |
| 12 handle socket; | 12 handle? socket; |
| 13 | 13 |
| 14 // Message pipe handle used for ChannelMojo. | 14 // Message pipe handle used for ChannelMojo. |
| 15 handle<message_pipe>? mojo_handle; | 15 handle<message_pipe>? mojo_handle; |
| 16 }; | 16 }; |
| OLD | NEW |