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

Unified Diff: mojo/public/interfaces/bindings/tests/validation_test_interfaces.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/validation_test_interfaces.mojom
diff --git a/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom b/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom
index 61c11570b7d960f77fc58109d3ad9c3975bc55e7..778f6460d62715920eccbd5fe457baa6ae8575b1 100644
--- a/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom
+++ b/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
-[DartPackage="_mojo_for_test_only", JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
+[DartPackage="_mojo_for_test_only",
+JavaPackage="org.chromium.mojo.bindings.test.mojom.mojo"]
module mojo.test;
struct StructA {
@@ -69,8 +69,7 @@ union UnionB {
uint32 d;
};
-interface InterfaceA {
-};
+interface InterfaceA{};
// This interface is used for testing bounds-checking in the mojom
// binding code. If you add a method please update the files
@@ -116,13 +115,16 @@ enum BasicEnum {
B,
C = A,
D = -3,
- E = 0xA
+ E = 0xA,
};
// The enum validation function should be generated within the scope of this
// struct.
struct StructWithEnum {
enum EnumWithin {
- A, B, C, D
+ A,
+ B,
+ C,
+ D,
};
};

Powered by Google App Engine
This is Rietveld 408576698