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

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: Switch to 80 char line length limit. 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 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..cbe611fdb7e2e44f0412a33a9d919600b2510726 100644
--- a/mojo/public/interfaces/bindings/tests/test_unions.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_unions.mojom
@@ -8,9 +8,11 @@ module mojo.test;
import "test_included_unions.mojom";
enum AnEnum {
- FIRST, SECOND
+ FIRST,
+ SECOND,
};
+// no-format
union PodUnion {
int8 f_int8;
int8 f_int8_other;
@@ -26,6 +28,7 @@ union PodUnion {
bool f_bool;
AnEnum f_enum;
};
+// end-no-format
// Tests that you can reference yet-to-be-declared unions in a union.
union UnionOfUnions {
@@ -46,7 +49,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