Index: mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom |
diff --git a/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom b/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f679eeb3a844abf2b1e4f0401978fc01126e948f |
--- /dev/null |
+++ b/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom |
@@ -0,0 +1,30 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[JavaPackage="org.chromium.mojo.bindings.test.mojom.serialization_test_structs"] |
+module mojo.test { |
+ |
+struct Struct1 {}; |
+ |
+struct Struct2 { |
+ handle hdl; |
+}; |
+ |
+struct Struct3 { |
+ Struct1 a; |
+}; |
+ |
+struct Struct4 { |
+ Struct1[] a_array; |
+}; |
+ |
+struct Struct5 { |
+ Struct1[2] a_pair; |
+}; |
+ |
+struct Struct6 { |
+ string str; |
+}; |
+ |
+} |