Index: mojo/public/interfaces/bindings/tests/sample_service.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom |
index 384136558e78bad11056417931b185fe55770883..d4327a4964cfa234d7f5b4c039db64027be12f47 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 { |