| 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 [DartUriBase="mojo/public/interfaces/bindings"] |
| 5 module mojo.internal; | 6 module mojo.internal; |
| 6 | 7 |
| 7 // For each message pipe representing a user-defined interface, some control | 8 // For each message pipe representing a user-defined interface, some control |
| 8 // functions are provided at the same end of the message pipe as the | 9 // functions are provided at the same end of the message pipe as the |
| 9 // user-defined interface, providing information about the user-defined | 10 // user-defined interface, providing information about the user-defined |
| 10 // interface and controlling behavior of the message pipe. | 11 // interface and controlling behavior of the message pipe. |
| 11 | 12 |
| 12 //////////////////////////////////////////////////////////////////////////////// | 13 //////////////////////////////////////////////////////////////////////////////// |
| 13 // Run@0xFFFFFFFF(RunInput input) => (RunOutput? output); | 14 // Run@0xFFFFFFFF(RunInput input) => (RunOutput? output); |
| 14 // | 15 // |
| 15 // This control function runs the input command. If the command is not | 16 // This control function runs the input command. If the command is not |
| 16 // supported, |output| is set to null; otherwise |output| stores the result, | 17 // supported, |output| is set to null; otherwise |output| stores the result, |
| 17 // whose type depends on the input. | 18 // whose type depends on the input. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 uint32 reserved0; // Must be set to 16. | 81 uint32 reserved0; // Must be set to 16. |
| 81 uint32 reserved1; // Must be set to 0. | 82 uint32 reserved1; // Must be set to 0. |
| 82 RequireVersion require_version; | 83 RequireVersion require_version; |
| 83 }; | 84 }; |
| 84 | 85 |
| 85 // If the specified version of the user-defined interface is not supported, the | 86 // If the specified version of the user-defined interface is not supported, the |
| 86 // function fails and the pipe is closed. | 87 // function fails and the pipe is closed. |
| 87 struct RequireVersion { | 88 struct RequireVersion { |
| 88 uint32 version; | 89 uint32 version; |
| 89 }; | 90 }; |
| OLD | NEW |