| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 [JavaPackage="org.chromium.mojo.bindings.pipecontrol"] | 5 [JavaPackage="org.chromium.mojo.bindings.pipecontrol"] |
| 6 module mojo.pipe_control; | 6 module mojo.pipe_control; |
| 7 | 7 |
| 8 // Test mojo change. |
| 8 // For each message pipe running user-defined interfaces, some control | 9 // For each message pipe running user-defined interfaces, some control |
| 9 // functions are provided and used by the routers at both ends of the pipe, so | 10 // functions are provided and used by the routers at both ends of the pipe, so |
| 10 // that they can coordinate to manage interface endpoints. | 11 // that they can coordinate to manage interface endpoints. |
| 11 // All these control messages will have the interface ID field in the message | 12 // All these control messages will have the interface ID field in the message |
| 12 // header set to invalid. | 13 // header set to invalid. |
| 13 | 14 |
| 14 //////////////////////////////////////////////////////////////////////////////// | 15 //////////////////////////////////////////////////////////////////////////////// |
| 15 // RunOrClosePipe@0xFFFFFFFE(RunOrClosePipeInput input); | 16 // RunOrClosePipe@0xFFFFFFFE(RunOrClosePipeInput input); |
| 16 // | 17 // |
| 17 // This control function runs the input command. If the operation fails or the | 18 // This control function runs the input command. If the operation fails or the |
| (...skipping 30 matching lines...) Expand all Loading... |
| 48 | 49 |
| 49 // An event to notify that an interface endpoint that is meant to be set up at | 50 // An event to notify that an interface endpoint that is meant to be set up at |
| 50 // the message receiver side has been closed before sent over the message pipe. | 51 // the message receiver side has been closed before sent over the message pipe. |
| 51 // | 52 // |
| 52 // This event is only used for associated interfaces. | 53 // This event is only used for associated interfaces. |
| 53 struct AssociatedEndpointClosedBeforeSentEvent { | 54 struct AssociatedEndpointClosedBeforeSentEvent { |
| 54 // The interface ID. | 55 // The interface ID. |
| 55 uint32 id; | 56 uint32 id; |
| 56 }; | 57 }; |
| 57 | 58 |
| OLD | NEW |