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

Side by Side Diff: mojo/public/interfaces/bindings/tests/regression_tests.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 2014 The Chromium Authors. All rights reserved. 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 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 // Module containing entities for regression tests of the generator. Entities 5 // Module containing entities for regression tests of the generator. Entities
6 // must never be modified, instead new entity must be added to add new tests. 6 // must never be modified, instead new entity must be added to add new tests.
7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"] 7 [JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"]
8 module regression_tests { 8 module regression_tests;
9 9
10 interface CheckMethodWithEmptyResponse { 10 interface CheckMethodWithEmptyResponse {
11 WithouParameterAndEmptyResponse() => (); 11 WithouParameterAndEmptyResponse() => ();
12 WithParameterAndEmptyResponse(bool b) => (); 12 WithParameterAndEmptyResponse(bool b) => ();
13 }; 13 };
14 14
15 interface CheckNameCollision { 15 interface CheckNameCollision {
16 WithNameCollision(bool message, bool response) => (bool message, bool response); 16 WithNameCollision(bool message, bool response) => (bool message, bool response);
17 }; 17 };
18 18
(...skipping 26 matching lines...) Expand all
45 struct EmptyStruct { 45 struct EmptyStruct {
46 }; 46 };
47 47
48 struct A { 48 struct A {
49 B? b; 49 B? b;
50 }; 50 };
51 51
52 struct B { 52 struct B {
53 A? a; 53 A? a;
54 }; 54 };
55
56 } // module imported
OLDNEW
« no previous file with comments | « mojo/public/interfaces/bindings/tests/rect.mojom ('k') | mojo/public/interfaces/bindings/tests/sample_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698