diff options
author | qsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 15:35:55 +0000 |
---|---|---|
committer | qsr@chromium.org <qsr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-20 15:35:55 +0000 |
commit | 07177bac1c498f5f3e8307058dd8a36ca02b1756 (patch) | |
tree | 96de289f0c330d9763af4f7ddec4bdd9b75ce0ab /mojo/public/interfaces/bindings/tests/sample_service.mojom | |
parent | c80bc10d668700ca507e96e360dfa4ddab5e1986 (diff) | |
download | chromium_src-07177bac1c498f5f3e8307058dd8a36ca02b1756.zip chromium_src-07177bac1c498f5f3e8307058dd8a36ca02b1756.tar.gz chromium_src-07177bac1c498f5f3e8307058dd8a36ca02b1756.tar.bz2 |
Update mojom example files.
This updates the example mojom files in prevision of the java bindings
generator.
Review URL: https://codereview.chromium.org/295583005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271659 0039d316-1c4b-4281-b951-d872f2087c98
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 { |