OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 struct StructA { | 7 struct StructA { |
8 uint64 i; | 8 uint64 i; |
9 }; | 9 }; |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 handle<data_pipe_consumer> data_pipe_consumer; | 25 handle<data_pipe_consumer> data_pipe_consumer; |
26 }; | 26 }; |
27 | 27 |
28 interface ConformanceTestInterface { | 28 interface ConformanceTestInterface { |
29 Method0(float param0); | 29 Method0(float param0); |
30 Method1(StructA param0); | 30 Method1(StructA param0); |
31 Method2(StructB param0, StructA param1); | 31 Method2(StructB param0, StructA param1); |
32 Method3(bool[] param0); | 32 Method3(bool[] param0); |
33 Method4(StructC param0, uint8[] param1); | 33 Method4(StructC param0, uint8[] param1); |
34 Method5(StructE param0, handle<data_pipe_producer> param1); | 34 Method5(StructE param0, handle<data_pipe_producer> param1); |
| 35 Method6(uint8[][] param0); |
35 }; | 36 }; |
36 | 37 |
37 struct BasicStruct { | 38 struct BasicStruct { |
38 int32 a; | 39 int32 a; |
39 }; | 40 }; |
40 | 41 |
41 [Client=IntegrationTestInterface2] | 42 [Client=IntegrationTestInterface2] |
42 interface IntegrationTestInterface1 { | 43 interface IntegrationTestInterface1 { |
43 Method0(BasicStruct param0); | 44 Method0(BasicStruct param0); |
44 }; | 45 }; |
45 | 46 |
46 [Client=IntegrationTestInterface1] | 47 [Client=IntegrationTestInterface1] |
47 interface IntegrationTestInterface2 { | 48 interface IntegrationTestInterface2 { |
48 Method0() => (uint8[] param0); | 49 Method0() => (uint8[] param0); |
49 }; | 50 }; |
50 | 51 |
51 } | 52 } |
OLD | NEW |