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 enum AnEnum { | 7 enum AnEnum { |
8 FIRST, SECOND | 8 FIRST, SECOND |
9 }; | 9 }; |
10 | 10 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 map<string, PodUnion>? pod_union_map; | 62 map<string, PodUnion>? pod_union_map; |
63 map<string, PodUnion?>? nullable_pod_union_map; | 63 map<string, PodUnion?>? nullable_pod_union_map; |
64 }; | 64 }; |
65 | 65 |
66 struct SmallStructNonNullableUnion { | 66 struct SmallStructNonNullableUnion { |
67 PodUnion pod_union; | 67 PodUnion pod_union; |
68 }; | 68 }; |
69 | 69 |
70 struct SmallObjStruct { | 70 struct SmallObjStruct { |
71 ObjectUnion obj_union; | 71 ObjectUnion obj_union; |
| 72 int8 f_int8; |
72 }; | 73 }; |
73 | 74 |
74 interface SmallCache { | 75 interface SmallCache { |
75 SetIntValue(int64 int_value); | 76 SetIntValue(int64 int_value); |
76 GetIntValue() => (int64 int_value); | 77 GetIntValue() => (int64 int_value); |
77 }; | 78 }; |
78 | 79 |
79 interface UnionInterface { | 80 interface UnionInterface { |
80 Echo(PodUnion in_val) => (PodUnion out_val); | 81 Echo(PodUnion in_val) => (PodUnion out_val); |
81 }; | 82 }; |
82 | 83 |
83 struct TryNonNullStruct { | 84 struct TryNonNullStruct { |
84 DummyStruct? nullable; | 85 DummyStruct? nullable; |
85 DummyStruct non_nullable; | 86 DummyStruct non_nullable; |
86 }; | 87 }; |
OLD | NEW |