| 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..60642b59944bbe3217f774bc4cda629956595f65
|
| --- /dev/null
|
| +++ b/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom
|
| @@ -0,0 +1,32 @@
|
| +// 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.mojo"]
|
| +module mojo.test {
|
| +
|
| +struct Struct1 {
|
| + uint8 i;
|
| +};
|
| +
|
| +struct Struct2 {
|
| + handle hdl;
|
| +};
|
| +
|
| +struct Struct3 {
|
| + Struct1 struct_1;
|
| +};
|
| +
|
| +struct Struct4 {
|
| + Struct1[] array;
|
| +};
|
| +
|
| +struct Struct5 {
|
| + Struct1[2] pair;
|
| +};
|
| +
|
| +struct Struct6 {
|
| + string str;
|
| +};
|
| +
|
| +}
|
|
|