Index: mojo/public/bindings/tests/sample_service.mojom |
diff --git a/mojo/public/bindings/tests/sample_service.mojom b/mojo/public/bindings/tests/sample_service.mojom |
index b7d328afe9d6a4e03a0b44adbf27ce87c19d031e..5232cecf39daae819f006c4db7f00f7921a5cb86 100644 |
--- a/mojo/public/bindings/tests/sample_service.mojom |
+++ b/mojo/public/bindings/tests/sample_service.mojom |
@@ -34,6 +34,17 @@ struct Foo { |
handle<data_pipe_producer>[] output_streams @11; |
}; |
+struct DefaultsTestInner { |
+ int32 age @2; |
+ string[] names = ["Jim"] @1; |
+ int32 height = 6*12 @3; |
+}; |
+ |
+struct DefaultsTest { |
+ DefaultsTestInner[] people = [{32, ["Bob", "Bobby"]}] @1; |
+ uint8[] data = [1, 2, 3] @2; |
+}; |
+ |
[Peer=ServiceClient] |
interface Service { |
enum BazOptions { |