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 module mojo.test; | 5 module mojo.test; |
6 | 6 |
7 interface FooInterface {}; | 7 interface FooInterface {}; |
8 | 8 |
9 struct StructContainsAssociated { | 9 struct StructContainsAssociated { |
10 associated FooInterface foo_interface; | 10 associated FooInterface foo_interface; |
(...skipping 10 matching lines...) Expand all Loading... |
21 associated FooInterface& foo_request) => | 21 associated FooInterface& foo_request) => |
22 (associated FooInterface foo_interface, | 22 (associated FooInterface foo_interface, |
23 associated FooInterface& foo_request); | 23 associated FooInterface& foo_request); |
24 | 24 |
25 PassStruct(StructContainsAssociated foo_struct) => | 25 PassStruct(StructContainsAssociated foo_struct) => |
26 (StructContainsAssociated foo_struct); | 26 (StructContainsAssociated foo_struct); |
27 | 27 |
28 PassUnion(UnionContainsAssociated foo_union) => | 28 PassUnion(UnionContainsAssociated foo_union) => |
29 (UnionContainsAssociated foo_union); | 29 (UnionContainsAssociated foo_union); |
30 }; | 30 }; |
| 31 |
| 32 interface IntegerSender { |
| 33 Echo(int32 value) => (int32 value); |
| 34 Send(int32 value); |
| 35 }; |
| 36 |
| 37 interface IntegerSenderConnection { |
| 38 GetSender(associated IntegerSender& sender); |
| 39 AsyncGetSender() => (associated IntegerSender sender); |
| 40 }; |
OLD | NEW |