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

Side by Side Diff: mojom/mojom_parser/examples/example.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 months 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 sample; 5 module sample;
6 6
7 enum EnumeratedValue { 7 enum EnumeratedValue {
8 VALUE1, VALUE2, VALUE3, 8 VALUE1,
9 VALUE2,
10 VALUE3,
9 }; 11 };
10 12
11 struct StructuredData { 13 struct StructuredData {
12 EnumeratedValue data1; 14 EnumeratedValue data1;
13 int32 data2; 15 int32 data2;
14 }; 16 };
15 17
16 interface Interface { 18 interface Interface {
17 SomeMethod(); 19 SomeMethod();
18 }; 20 };
19 21
20 union AlternativeOptions { 22 union AlternativeOptions {
21 int32 integer_option; 23 int32 integer_option;
22 float floating_point_option; 24 float floating_point_option;
23 }; 25 };
24 26
25 const int32 DOES_NOT_CHANGE = 42; 27 const int32 DOES_NOT_CHANGE = 42;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698