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

Unified Diff: mojo/public/interfaces/bindings/tests/test_unions.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: mojo/public/interfaces/bindings/tests/test_unions.mojom
diff --git a/mojo/public/interfaces/bindings/tests/test_unions.mojom b/mojo/public/interfaces/bindings/tests/test_unions.mojom
index c6bb9aa3c389b22407ddfff875d8191c3b17d293..8d24061542a293210ab76f24e34978a1f394942e 100644
--- a/mojo/public/interfaces/bindings/tests/test_unions.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_unions.mojom
@@ -8,22 +8,23 @@ module mojo.test;
import "test_included_unions.mojom";
enum AnEnum {
- FIRST, SECOND
+ FIRST,
+ SECOND,
};
union PodUnion {
- int8 f_int8;
- int8 f_int8_other;
- uint8 f_uint8;
- int16 f_int16;
+ int8 f_int8;
jamesr 2016/02/29 23:40:49 this also looks worse when not aligned
+ int8 f_int8_other;
+ uint8 f_uint8;
+ int16 f_int16;
uint16 f_uint16;
- int32 f_int32;
+ int32 f_int32;
uint32 f_uint32;
- int64 f_int64;
+ int64 f_int64;
uint64 f_uint64;
- float f_float;
+ float f_float;
double f_double;
- bool f_bool;
+ bool f_bool;
AnEnum f_enum;
};
@@ -46,7 +47,7 @@ struct StructOfUnions {
};
union ObjectUnion {
- int8 f_int8;
+ int8 f_int8;
string f_string;
DummyStruct f_dummy;
DummyStruct? f_nullable;

Powered by Google App Engine
This is Rietveld 408576698