Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / mojo / public / interfaces / bindings / tests / serialization_test_structs.mojom
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
6 module mojo.test;
7
8 struct Struct1 {
9   uint8 i;
10 };
11
12 struct Struct2 {
13   handle hdl;
14 };
15
16 struct Struct3 {
17   Struct1 struct_1;
18 };
19
20 struct Struct4 {
21   array<Struct1> data;
22 };
23
24 struct Struct5 {
25   array<Struct1, 2> pair;
26 };
27
28 struct Struct6 {
29   string str;
30 };
31
32 struct StructOfNullables {
33   handle? hdl;
34   Struct1? struct_1;
35   string? str;
36 };