Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: mojo/public/interfaces/bindings/tests/test_structs.mojom

Issue 687793004: mojom: Remove braces from module statements and make them come first. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
6 module mojo.test;
7
5 import "mojo/public/interfaces/bindings/tests/rect.mojom"; 8 import "mojo/public/interfaces/bindings/tests/rect.mojom";
6 9
7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
8 module mojo.test {
9
10 struct NamedRegion { 10 struct NamedRegion {
11 string? name; 11 string? name;
12 array<Rect>? rects; 12 array<Rect>? rects;
13 }; 13 };
14 14
15 struct RectPair { 15 struct RectPair {
16 Rect? first; 16 Rect? first;
17 Rect? second; 17 Rect? second;
18 }; 18 };
19 19
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // decoded successfully. 130 // decoded successfully.
131 131
132 struct MapValueTypes { 132 struct MapValueTypes {
133 map<string, array<string>> f0; 133 map<string, array<string>> f0;
134 map<string, array<string>?> f1; 134 map<string, array<string>?> f1;
135 map<string, array<string?>> f2; 135 map<string, array<string?>> f2;
136 map<string, array<string, 2>> f3; 136 map<string, array<string, 2>> f3;
137 map<string, array<array<string, 2>?>> f4; 137 map<string, array<array<string, 2>?>> f4;
138 map<string, array<array<string, 2>, 1>> f5; 138 map<string, array<array<string, 2>, 1>> f5;
139 }; 139 };
140
141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698