Chromium Code Reviews| Index: mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
| diff --git a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
| index 955fb08b7c34f5ed8305d16878cbd16a982f1402..ac41df7cdddf67f813173a7c2b62546dbdac7c71 100644 |
| --- a/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
| +++ b/mojo/public/interfaces/bindings/tests/struct_with_traits.mojom |
| @@ -53,6 +53,11 @@ struct StructWithTraitsForUniquePtr { |
| int32 f_int32; |
| }; |
| +union UnionWithTraits { |
| + int32 f_int32; |
| + NestedStructWithTraits f_struct; |
| +}; |
| + |
| interface TraitsTestService { |
| EchoStructWithTraits(StructWithTraits s) => (StructWithTraits passed); |
| @@ -72,4 +77,6 @@ interface TraitsTestService { |
| EchoNullableStructWithTraitsForUniquePtr(StructWithTraitsForUniquePtr? e) => ( |
| StructWithTraitsForUniquePtr? passed); |
| + |
| + EchoUnionWithTraits(UnionWithTraits u) => (UnionWithTraits passed); |
|
Fady Samuel
2016/08/08 23:02:46
optional nit: I've found tests are a lot more read
yzshen1
2016/08/08 23:07:38
Yeah, that is probably true.
If you don't mind, I
Fady Samuel
2016/08/08 23:09:03
Yea, of course, no problem. lgtm
|
| }; |