diff options
Diffstat (limited to 'mojo/public/interfaces/bindings/tests/sample_service.mojom')
-rw-r--r-- | mojo/public/interfaces/bindings/tests/sample_service.mojom | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom index 3841365..d4327a4 100644 --- a/mojo/public/interfaces/bindings/tests/sample_service.mojom +++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom @@ -5,7 +5,7 @@ import "sample_import.mojom" import "sample_import2.mojom" -[JavaPackage="org.chromium.mojo.bindings.test"] +[JavaPackage="org.chromium.mojo.bindings.test.sample"] module sample { const uint8 kThree = 3; @@ -38,7 +38,8 @@ struct Foo { handle<message_pipe> source @9; handle<data_pipe_consumer>[] input_streams @10; handle<data_pipe_producer>[] output_streams @11; - bool[][] array_of_array_of_bools @12; + bool[][] array_of_array_of_bools = [[true], [false, true]] @12; + string[][][] multi_array_of_strings @13; }; struct DefaultsTestInner { @@ -56,6 +57,17 @@ struct DefaultsTest { Bar.Type bar_type = Bar.TYPE_BOTH; }; +struct StructWithHoleV1 { + int32 v1 = 1; + int64 v2 = 2; +}; + +struct StructWithHoleV2 { + int32 v1 = 1; + int64 v2 = 2; + int32 v3 = 3; +}; + [Client=ServiceClient] interface Service { enum BazOptions { |