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 [DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings"] | 5 [DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings"] |
6 module mojo; | 6 module mojo; |
7 | 7 |
8 // For each message pipe representing a user-defined interface, some control | 8 // For each message pipe representing a user-defined interface, some control |
9 // 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 |
10 // user-defined interface, providing information about the user-defined | 10 // user-defined interface, providing information about the user-defined |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 uint32 reserved0; // Must be set to 16. | 81 uint32 reserved0; // Must be set to 16. |
82 uint32 reserved1; // Must be set to 0. | 82 uint32 reserved1; // Must be set to 0. |
83 RequireVersion require_version; | 83 RequireVersion require_version; |
84 }; | 84 }; |
85 | 85 |
86 // 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 |
87 // function fails and the pipe is closed. | 87 // function fails and the pipe is closed. |
88 struct RequireVersion { | 88 struct RequireVersion { |
89 uint32 version; | 89 uint32 version; |
90 }; | 90 }; |
OLD | NEW |