Auto-formatted all .mojom files.

BUG= #592
R=viettrungluu@chromium.org

Review URL: https://codereview.chromium.org/1741963002 .
diff --git a/examples/echo/echo.mojom b/examples/echo/echo.mojom
index 7ea0b27..cd31187 100644
--- a/examples/echo/echo.mojom
+++ b/examples/echo/echo.mojom
@@ -2,7 +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.examples.echo"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.examples.echo"]
 module mojo.examples;
 
 [ServiceName="mojo::examples::Echo"]
diff --git a/mojo/common/test_interfaces.mojom b/mojo/common/test_interfaces.mojom
index 82d84d2..206d979 100644
--- a/mojo/common/test_interfaces.mojom
+++ b/mojo/common/test_interfaces.mojom
@@ -6,4 +6,4 @@
 
 interface Dummy {
   Foo();
-};
\ No newline at end of file
+};
diff --git a/mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom b/mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom
index 94f741f..d31c87d 100644
--- a/mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom
+++ b/mojo/dart/unittests/embedder_tester/dart_to_cpp.mojom
@@ -11,11 +11,11 @@
   int64 si64;
   int32 si32;
   int16 si16;
-  int8  si8;
+  int8 si8;
   uint64 ui64;
   uint32 ui32;
   uint16 ui16;
-  uint8  ui8;
+  uint8 ui8;
   float float_val;
   float float_inf;
   float float_nan;
diff --git a/mojo/public/interfaces/bindings/interface_control_messages.mojom b/mojo/public/interfaces/bindings/interface_control_messages.mojom
index 10bd269..69524ec 100644
--- a/mojo/public/interfaces/bindings/interface_control_messages.mojom
+++ b/mojo/public/interfaces/bindings/interface_control_messages.mojom
@@ -2,7 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings"]
+[DartPackage="mojo",
+ JavaPackage="org.chromium.mojo.bindings"]
 module mojo;
 
 // For each message pipe representing a user-defined interface, some control
@@ -52,8 +53,7 @@
 };
 
 // Queries the max supported version of the user-defined interface.
-struct QueryVersion {
-};
+struct QueryVersion {};
 struct QueryVersionResult {
   uint32 version;
 };
diff --git a/mojo/public/interfaces/bindings/mojom_files.mojom b/mojo/public/interfaces/bindings/mojom_files.mojom
index fcb5349..6914434 100644
--- a/mojo/public/interfaces/bindings/mojom_files.mojom
+++ b/mojo/public/interfaces/bindings/mojom_files.mojom
@@ -2,29 +2,30 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings.types"]
+[DartPackage="mojo",
+ JavaPackage="org.chromium.mojo.bindings.types"]
 module mojo.bindings.types;
 
 import "mojom_types.mojom";
 
 /*
-* The structures in this file are intended to be used by the Mojom compiler
-* and code generators. The front end of the compiler takes as input a
-* .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct.
-*
-* The backend of the compiler consumes a MojomFileGraph and invokes each of the
-* code generators passing them data derived from the MojomFileGraph.
-*
-* A MojomFile represents the data parsed from a single .mojom file. Mojom
-* modules form a directed acyclic graph via the "imports" relation.
-* That is, if Module A imports Module B then there is a directed edge in the
-* graph from A to B. A MojomFileGraph represents the whole Graph.
+ * The structures in this file are intended to be used by the Mojom compiler
+ * and code generators. The front end of the compiler takes as input a
+ * .mojom file (or a list of .mojom files) and produces a MojomFileGraph struct.
+ *
+ * The backend of the compiler consumes a MojomFileGraph and invokes each of the
+ * code generators passing them data derived from the MojomFileGraph.
+ *
+ * A MojomFile represents the data parsed from a single .mojom file. Mojom
+ * modules form a directed acyclic graph via the "imports" relation.
+ * That is, if Module A imports Module B then there is a directed edge in the
+ * graph from A to B. A MojomFileGraph represents the whole Graph.
 
-* The Mojom structures represented here have been fully resolved, meaning that
-* the type references have been associated with their corresponding type
-* definitions. This resolved type data is contained in the resolved_types data
-* in MojomFileGraph.
-*/
+ * The Mojom structures represented here have been fully resolved, meaning that
+ * the type references have been associated with their corresponding type
+ * definitions. This resolved type data is contained in the resolved_types data
+ * in MojomFileGraph.
+ */
 
 // A MojomFile represents the data defined by a single .mojom file, when
 // all of the type references to types declared in imported .mojom files
@@ -50,8 +51,8 @@
   // in the |imports| field of another |MojomFile|.
   string? specified_file_name;
 
-   // The namespace is the identifier declared via the "module" declaration
-   // in the .mojom file.
+  // The namespace is the identifier declared via the "module" declaration
+  // in the .mojom file.
   string? module_namespace;
 
   // Attributes declared in the Mojom file at the module level.
@@ -103,4 +104,4 @@
   // All the constant_keys known to the owning MojomFileGraph.
   array<string>? top_level_constants;
   array<string>? embedded_constants;
-};
\ No newline at end of file
+};
diff --git a/mojo/public/interfaces/bindings/mojom_types.mojom b/mojo/public/interfaces/bindings/mojom_types.mojom
index 9b98509..c4ea2a3 100644
--- a/mojo/public/interfaces/bindings/mojom_types.mojom
+++ b/mojo/public/interfaces/bindings/mojom_types.mojom
@@ -2,51 +2,51 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings.types"]
+[DartPackage="mojo",
+ JavaPackage="org.chromium.mojo.bindings.types"]
 module mojo.bindings.types;
 
-
 /*
-* This file contains definitions of data structures used to represent
-* Mojom types and values.
-*
-* As described in the Mojom Language Specification, Mojom types are defined
-* recursively and consequently a |Type| object may recursively contain
-* other |Type| objects. For example a |Type| object representing an array<int32>
-* will contain a |Type| object representing an int32.
-*
-* A Mojom type declaration may contain an identifier that resolves  to a
-* user-defined type: a struct, union, enum or interface. We use |TypeReference|
-* to represent an occurrence of such an identifier. A |TypeReference| may be
-* resolved or not. Resolved means that the user-defined type to which the
-* identifier refers has been found and associated with the |TypeReference|.
-* A |Type| object is fully-resolved if it, and recursively all of its
-* sub-components, do not contain any unresolved TypeReferences.
-*
-* A resolved |TypeReference| does not literally contain a structure representing
-* the user-defined type that it represents but rather refers to its target type
-* indirectly via a string called a |type_key|. The type_key may be used to
-* lookup the user-defined type to which it refers.
-*
-* The mapping from |type_keys| to user-defined types is not
-* represented by any structures in this file and instead must be maintained
-* by a higher layer context in which this file is used. For example the
-* |ServiceDescription| interface defined in service_describer.mojom includes
-* the method:
-*     GetTypeDefinition(string type_key) => UserDefinedType? type);
-* for this purpose.
-* We refer to this higher-layer context as the *owning context.*
-*
-* In addition to types, Mojom values are also representd by structures in this
-* file. A |Value| may be a LiteralValue, a UserValueReference or a
-* BuiltinConstantValue. Similarly to the situation with TypeReferences,
-* UserValueReferences contain a |value_key| which may be used to lookup
-* a UserDefinedValue (an EnumValue or a UserDefinedConstant) in
-* the owning context. For example the |MojomFileGraph| struct in
-* mojom_files.mojom contains the map:
-*     map<string, UserDefinedValue> resolved_values;
-* for this purpose.
-*/
+ * This file contains definitions of data structures used to represent
+ * Mojom types and values.
+ *
+ * As described in the Mojom Language Specification, Mojom types are defined
+ * recursively and consequently a |Type| object may recursively contain
+ * other |Type| objects. For example a |Type| object representing an
+ * array<int32> will contain a |Type| object representing an int32.
+ *
+ * A Mojom type declaration may contain an identifier that resolves  to a
+ * user-defined type: a struct, union, enum or interface. We use |TypeReference|
+ * to represent an occurrence of such an identifier. A |TypeReference| may be
+ * resolved or not. Resolved means that the user-defined type to which the
+ * identifier refers has been found and associated with the |TypeReference|.
+ * A |Type| object is fully-resolved if it, and recursively all of its
+ * sub-components, do not contain any unresolved TypeReferences.
+ *
+ * A resolved |TypeReference| does not literally contain a structure
+ * representing the user-defined type that it represents but rather refers to
+ * its target type indirectly via a string called a |type_key|. The type_key may
+ * be used to lookup the user-defined type to which it refers.
+ *
+ * The mapping from |type_keys| to user-defined types is not
+ * represented by any structures in this file and instead must be maintained
+ * by a higher layer context in which this file is used. For example the
+ * |ServiceDescription| interface defined in service_describer.mojom includes
+ * the method:
+ *     GetTypeDefinition(string type_key) => UserDefinedType? type);
+ * for this purpose.
+ * We refer to this higher-layer context as the *owning context.*
+ *
+ * In addition to types, Mojom values are also representd by structures in this
+ * file. A |Value| may be a LiteralValue, a UserValueReference or a
+ * BuiltinConstantValue. Similarly to the situation with TypeReferences,
+ * UserValueReferences contain a |value_key| which may be used to lookup
+ * a UserDefinedValue (an EnumValue or a UserDefinedConstant) in
+ * the owning context. For example the |MojomFileGraph| struct in
+ * mojom_files.mojom contains the map:
+ *     map<string, UserDefinedValue> resolved_values;
+ * for this purpose.
+ */
 
 // The different kinds of types. We divide the types into five categories:
 // simple, string, compound, handle, and user-defined.
@@ -78,7 +78,7 @@
   UINT8,
   UINT16,
   UINT32,
-  UINT64
+  UINT64,
 };
 
 struct StringType {
@@ -136,7 +136,6 @@
   // a Scope field to TypeReference so that resolution may occur later.
   string? identifier;
 
-
   // This field is non-null if this reference has been resolved.
   string? type_key;
 };
@@ -160,7 +159,7 @@
 // A field of a struct. These structures are contained in the |fields| field
 // of the |MojomStruct| struct.
 struct StructField {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   Type type;
 
@@ -190,7 +189,7 @@
 
 // A built-in pseudo-value, indicated by the keyword "default", that
 // specifies that the default value of a user-defined type should be used.
-struct DefaultKeyword{};
+struct DefaultKeyword {};
 
 struct StructVersion {
   uint32 version_number;
@@ -205,7 +204,7 @@
 };
 
 struct MojomStruct {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   // The fields are in ordinal order. Note that this may be different than
   // the order in which the fields are declared in the .mojom file.
@@ -223,14 +222,14 @@
 // A field of a union. These structures are contained in the |fields| field
 // of the |MojomUnion| struct.
 struct UnionField {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   Type type;
   uint32 tag;
 };
 
 struct MojomUnion {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   // The fields are in tag order. Note that this may be different than
   // the order in which the fields are declared in the .mojom file.
@@ -256,13 +255,13 @@
 };
 
 struct MojomEnum {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   array<EnumValue> values;
 };
 
 struct MojomMethod {
-  DeclarationData? decl_data; // Some implementations may not provide this.
+  DeclarationData? decl_data;  // Some implementations may not provide this.
 
   MojomStruct parameters;
 
@@ -395,7 +394,6 @@
 // Declaration Data
 ////////////////////////////////////////////////////////////////////////////
 
-
 struct Attribute {
   string key;
 
@@ -414,7 +412,7 @@
 
   // The value of the "MinVersion" attribute, if any. This field is
   // for convenience as it can also be parsed from the |attributes| field.
-  int32 min_version = -1; // Negative value means unset.
+  int32 min_version = -1;  // Negative value means unset.
 
   string? short_name;  // Some implementations may not provide names.
 
@@ -425,7 +423,7 @@
 
   // The serialization ordinal of this element as declared in the
   // .mojom file using the "@" notation.
-  int32 declared_ordinal = -1; // Negative value means unset.
+  int32 declared_ordinal = -1;  // Negative value means unset.
 
   // The zero-based ordinal position of this element within its containing
   // scope as it appears in the Mojom declaration. This is not the serialization
@@ -520,4 +518,3 @@
   // The keys are the |type_key|s.
   map<string, UserDefinedType> type_map;
 };
-
diff --git a/mojo/public/interfaces/bindings/service_describer.mojom b/mojo/public/interfaces/bindings/service_describer.mojom
index 50bf083..93194a9 100644
--- a/mojo/public/interfaces/bindings/service_describer.mojom
+++ b/mojo/public/interfaces/bindings/service_describer.mojom
@@ -2,7 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo", JavaPackage="org.chromium.mojo.bindings"]
+[DartPackage="mojo",
+ JavaPackage="org.chromium.mojo.bindings"]
 // TODO(rudominer) Move this file into the module mojo.bindings when
 // https://github.com/domokit/mojo/issues/435 is fixed.
 module mojo.bindings.types;
@@ -22,7 +23,7 @@
   // with the given name. If the host is not willing or able to describe the
   // service with the given name it will close the |description_request| pipe.
   DescribeService(string interface_name,
-      ServiceDescription& description_request);
+                  ServiceDescription& description_request);
 };
 
 // A ServiceDescription allows a client to request information about the Mojom
@@ -47,8 +48,8 @@
   // Returns the |UserDefinedType| for the given |type_key|. Valid keys are
   // those that are embedded in the structures returned from earlier queries
   // of this ServiceDescription. If the key is invalid then |type| will be null.
-  GetTypeDefinition(string type_key) =>
-      (mojo.bindings.types.UserDefinedType? type);
+  GetTypeDefinition(string type_key)
+      => (mojo.bindings.types.UserDefinedType? type);
 
   // Returns all the data queryable via GetTypeDefinition in a single
   // structure, or null if the implementation is not willing or not able to
diff --git a/mojo/public/interfaces/bindings/tests/math_calculator.mojom b/mojo/public/interfaces/bindings/tests/math_calculator.mojom
index 13ee748..fa72db8 100644
--- a/mojo/public/interfaces/bindings/tests/math_calculator.mojom
+++ b/mojo/public/interfaces/bindings/tests/math_calculator.mojom
@@ -2,7 +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.math"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.math"]
 module math;
 
 interface Calculator {
diff --git a/mojo/public/interfaces/bindings/tests/no_module.mojom b/mojo/public/interfaces/bindings/tests/no_module.mojom
index f380011..5bba152 100644
--- a/mojo/public/interfaces/bindings/tests/no_module.mojom
+++ b/mojo/public/interfaces/bindings/tests/no_module.mojom
@@ -5,5 +5,5 @@
 // Entities without module
 
 enum EnumWithoutModule {
-  A
+  A,
 };
diff --git a/mojo/public/interfaces/bindings/tests/rect.mojom b/mojo/public/interfaces/bindings/tests/rect.mojom
index e5704f5..79b8d32 100644
--- a/mojo/public/interfaces/bindings/tests/rect.mojom
+++ b/mojo/public/interfaces/bindings/tests/rect.mojom
@@ -2,7 +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.test_structs"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
 module mojo.test;
 
 struct Rect {
diff --git a/mojo/public/interfaces/bindings/tests/regression_tests.mojom b/mojo/public/interfaces/bindings/tests/regression_tests.mojom
index f03f2e9..8428288 100644
--- a/mojo/public/interfaces/bindings/tests/regression_tests.mojom
+++ b/mojo/public/interfaces/bindings/tests/regression_tests.mojom
@@ -4,34 +4,36 @@
 
 // Module containing entities for regression tests of the generator. Entities
 // must never be modified, instead new entity must be added to add new tests.
-[DartPackage="_mojo_for_test_only", JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.regression_tests"]
 module regression_tests;
 
 interface CheckMethodWithEmptyResponse {
-WithoutParameterAndEmptyResponse() => ();
-WithParameterAndEmptyResponse(bool b) => ();
+  WithoutParameterAndEmptyResponse() => ();
+  WithParameterAndEmptyResponse(bool b) => ();
 };
 
 interface CheckNameCollision {
-WithNameCollision(bool message, bool response) => (bool message, bool response);
+  WithNameCollision(bool message, bool response)
+      => (bool message, bool response);
 };
 
 enum EnumWithReference {
   k_STEREO_AND_KEYBOARD_MIC = 30,
-  k_MAX = k_STEREO_AND_KEYBOARD_MIC
+  k_MAX = k_STEREO_AND_KEYBOARD_MIC,
 };
 
 enum EnumWithLowercase {
   PlanarF16,
-  PlanarF32
+  PlanarF32,
 };
 
 enum EnumWithNumbers {
-  k_2_1 = 4
+  k_2_1 = 4,
 };
 
 enum EnumWithK {
-  K = 0
+  K = 0,
 };
 
 struct Edge {
@@ -42,8 +44,7 @@
   EmptyStruct? e;
 };
 
-struct EmptyStruct {
-};
+struct EmptyStruct {};
 
 struct A {
   B? b;
@@ -107,5 +108,5 @@
   UINT8T_h1ng,
   UINT16t_h1NG,
   UINT32_TH1ng,
-  UINT64_TH1NG
+  UINT64_TH1NG,
 };
diff --git a/mojo/public/interfaces/bindings/tests/sample_factory.mojom b/mojo/public/interfaces/bindings/tests/sample_factory.mojom
index f6ec869..8130715 100644
--- a/mojo/public/interfaces/bindings/tests/sample_factory.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_factory.mojom
@@ -2,7 +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.sample"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"]
 module sample;
 
 import "sample_import.mojom";
@@ -31,12 +32,12 @@
 };
 
 interface Factory {
-  DoStuff(Request request, handle<message_pipe>? pipe) =>
-      (Response response, string text);
+  DoStuff(Request request, handle<message_pipe>? pipe)
+      => (Response response, string text);
   DoStuff2(handle<data_pipe_consumer> pipe) => (string text);
   CreateNamedObject(NamedObject& obj);
-  RequestImportedInterface(
-      imported.ImportedInterface& obj) => (imported.ImportedInterface& obj);
-  TakeImportedInterface(
-      imported.ImportedInterface obj) => (imported.ImportedInterface obj);
+  RequestImportedInterface(imported.ImportedInterface& obj)
+      => (imported.ImportedInterface& obj);
+  TakeImportedInterface(imported.ImportedInterface obj)
+      => (imported.ImportedInterface obj);
 };
diff --git a/mojo/public/interfaces/bindings/tests/sample_import.mojom b/mojo/public/interfaces/bindings/tests/sample_import.mojom
index e446c77..1f45c15 100644
--- a/mojo/public/interfaces/bindings/tests/sample_import.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_import.mojom
@@ -2,7 +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.imported"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"]
 module imported;
 
 // This sample just defines some types that are imported into
diff --git a/mojo/public/interfaces/bindings/tests/sample_import2.mojom b/mojo/public/interfaces/bindings/tests/sample_import2.mojom
index 8a3db1e..389b686 100644
--- a/mojo/public/interfaces/bindings/tests/sample_import2.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_import2.mojom
@@ -2,7 +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.imported"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.imported"]
 module imported;
 
 import "sample_import.mojom";
diff --git a/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom b/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom
index 1633d8b..5645242 100644
--- a/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom
@@ -5,13 +5,13 @@
 [DartPackage="_mojo_for_test_only",
  JavaPackage="org.chromium.mojo.bindings.test.mojom.sample",
  JavaConstantsClassName="InterfaceConstants",
- Foo = "hello world"]
+ Foo="hello world"]
 module sample;
 
 const uint64 kLong = 4405;
 
 enum Enum {
-  VALUE
+  VALUE,
 };
 
 interface Provider {
diff --git a/mojo/public/interfaces/bindings/tests/sample_service.mojom b/mojo/public/interfaces/bindings/tests/sample_service.mojom
index 1fa303b..7adfad3 100644
--- a/mojo/public/interfaces/bindings/tests/sample_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/sample_service.mojom
@@ -2,7 +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.sample"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.sample"]
 module sample;
 
 import "sample_import.mojom";
@@ -15,7 +16,7 @@
     VERTICAL = 1,
     HORIZONTAL,
     BOTH,
-    INVALID
+    INVALID,
   };
   uint8 alpha@0 = 0xff;
   uint8 beta@1;
@@ -43,6 +44,7 @@
 };
 
 struct DefaultsTest {
+  // no-format
   int8 a0@0 = -12;
   uint8 a1@1 = sample.kTwelve;
   int16 a2@2 = 1234;
@@ -61,6 +63,7 @@
   double a15@15 = 1E10;
   double a16@16 = -1.2E+20;
   double a17@17 = +1.23E-20;
+  // end-no-format
 
   // TODO(vtl): Add tests for default vs null when those are implemented (for
   // structs, arrays, and strings).
@@ -97,11 +100,11 @@
 interface Service {
   enum BazOptions {
     REGULAR = 0,
-    EXTRA
+    EXTRA,
   };
   const uint8 kFavoriteBaz = 1;
   Frobinate@0(Foo? foo@0, BazOptions baz@1, Port? port@2) => (int32 result@0);
-  GetPort@1(Port& port @0);
+  GetPort@1(Port& port@0);
 };
 
 // This interface is referenced above where it is defined. It also refers to
diff --git a/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom b/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom
index 1104040..b149ac4 100644
--- a/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom
+++ b/mojo/public/interfaces/bindings/tests/serialization_test_structs.mojom
@@ -2,7 +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 Struct1 {
diff --git a/mojo/public/interfaces/bindings/tests/test_enums.mojom b/mojo/public/interfaces/bindings/tests/test_enums.mojom
index 1f77f6f..0c009f8 100644
--- a/mojo/public/interfaces/bindings/tests/test_enums.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_enums.mojom
@@ -2,7 +2,8 @@
 module mojo.test;
 
 enum TestEnum {
-  TEST = 0, V = 1, FOO = 2, BAR = 3
+  TEST = 0,
+  V = 1,
+  FOO = 2,
+  BAR = 3,
 };
-
-
diff --git a/mojo/public/interfaces/bindings/tests/test_structs.mojom b/mojo/public/interfaces/bindings/tests/test_structs.mojom
index c0e12b7..918b8d9 100644
--- a/mojo/public/interfaces/bindings/tests/test_structs.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_structs.mojom
@@ -2,7 +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.test_structs"]
+[DartPackage="_mojo_for_test_only",
+ JavaPackage="org.chromium.mojo.bindings.test.mojom.test_structs"]
 module mojo.test;
 
 import "mojo/public/interfaces/bindings/tests/rect.mojom";
@@ -35,9 +36,7 @@
   Rect? second;
 };
 
-struct EmptyStruct {
-};
-
+struct EmptyStruct {};
 
 struct HandleStruct {
   handle<message_pipe>? h;
@@ -126,11 +125,11 @@
     E3 = E2,
     E4,
   };
-  EType f0 = E0; // 0
-  EType f1 = E1; // 1
-  EType f2 = E2; // 10
-  EType f3 = E3; // 10
-  EType f4 = E4; // 11
+  EType f0 = E0;  // 0
+  EType f1 = E1;  // 1
+  EType f2 = E2;  // 10
+  EType f3 = E3;  // 10
+  EType f4 = E4;  // 11
   int32 f5 = TEN;
   int32 f6 = ALSO_TEN;
 };
@@ -214,13 +213,13 @@
 // decoded correctly.
 
 struct IntegerNumberValues {
-  const int8 V0 = -128; // Minimum
-  const int8 V1 = -1;   // -1
-  const int8 V2 = 0;    // 0
-  const int8 V3 = 42;   // An arbitrary valid value.
+  const int8 V0 = -128;  // Minimum
+  const int8 V1 = -1;  // -1
+  const int8 V2 = 0;  // 0
+  const int8 V3 = 42;  // An arbitrary valid value.
   const int8 V4 = 127;  // Maximum
 
-  const int16 V5 = -32768; // ...
+  const int16 V5 = -32768;  // ...
   const int16 V6 = -1;
   const int16 V7 = 0;
   const int16 V8 = 12345;
@@ -233,11 +232,11 @@
   const int32 V14 = 2147483647;
 
   // The limits for JavaScript integers are +/- (2^53 - 1).
-  const int64 V15 = -9007199254740991; // Number.MIN_SAFE_INTEGER
+  const int64 V15 = -9007199254740991;  // Number.MIN_SAFE_INTEGER
   const int64 V16 = -1;
   const int64 V17 = 0;
   const int64 V18 = 1234567890123456;
-  const int64 V19 = 9007199254740991; // Number.MAX_SAFE_INTEGER
+  const int64 V19 = 9007199254740991;  // Number.MAX_SAFE_INTEGER
 
   int8 f0 = V0;
   int8 f1 = V1;
@@ -268,11 +267,11 @@
 // decoded correctly.
 
 struct UnsignedNumberValues {
-  const uint8 V0 = 0;    // Minimum = 0.
-  const uint8 V1 = 42;   // An arbitrary valid value.
-  const uint8 V2 = 0xFF; // Maximum
+  const uint8 V0 = 0;  // Minimum = 0.
+  const uint8 V1 = 42;  // An arbitrary valid value.
+  const uint8 V2 = 0xFF;  // Maximum
 
-  const uint16 V3 = 0; // ...
+  const uint16 V3 = 0;  // ...
   const uint16 V4 = 12345;
   const uint16 V5 = 0xFFFF;
 
@@ -283,7 +282,7 @@
   // The limits for JavaScript integers are +/- (2^53 - 1).
   const uint64 V9 = 0;
   const uint64 V10 = 1234567890123456;
-  const uint64 V11 = 9007199254740991; // Number.MAX_SAFE_INTEGER
+  const uint64 V11 = 9007199254740991;  // Number.MAX_SAFE_INTEGER
 
   uint8 f0 = V0;
   uint8 f1 = V1;
@@ -294,7 +293,7 @@
   uint16 f5 = V5;
 
   uint32 f6 = V6;
-  uint32 f7  = V7;
+  uint32 f7 = V7;
   uint32 f8 = V8;
 
   uint64 f9 = V9;
@@ -318,67 +317,44 @@
 // Used to verify that different versions can be decoded correctly.
 
 struct MultiVersionStruct {
-  [MinVersion=0]
-  int32 f_int32;
-  [MinVersion=1]
-  Rect? f_rect;
-  [MinVersion=3]
-  string? f_string;
-  [MinVersion=5]
-  array<int8>? f_array;
-  [MinVersion=7]
-  handle<message_pipe>? f_message_pipe;
-  [MinVersion=7]
-  bool f_bool;
-  [MinVersion=9]
-  int16 f_int16;
+  [MinVersion=0] int32 f_int32;
+  [MinVersion=1] Rect? f_rect;
+  [MinVersion=3] string? f_string;
+  [MinVersion=5] array<int8>? f_array;
+  [MinVersion=7] handle<message_pipe>? f_message_pipe;
+  [MinVersion=7] bool f_bool;
+  [MinVersion=9] int16 f_int16;
 };
 
 struct MultiVersionStructV0 {
-  [MinVersion=0]
-  int32 f_int32;
+  [MinVersion=0] int32 f_int32;
 };
 
 struct MultiVersionStructV1 {
-  [MinVersion=0]
-  int32 f_int32;
-  [MinVersion=1]
-  Rect? f_rect;
+  [MinVersion=0] int32 f_int32;
+  [MinVersion=1] Rect? f_rect;
 };
 
 struct MultiVersionStructV3 {
-  [MinVersion=0]
-  int32 f_int32;
-  [MinVersion=1]
-  Rect? f_rect;
-  [MinVersion=3]
-  string? f_string;
+  [MinVersion=0] int32 f_int32;
+  [MinVersion=1] Rect? f_rect;
+  [MinVersion=3] string? f_string;
 };
 
 struct MultiVersionStructV5 {
-  [MinVersion=0]
-  int32 f_int32;
-  [MinVersion=1]
-  Rect? f_rect;
-  [MinVersion=3]
-  string? f_string;
-  [MinVersion=5]
-  array<int8>? f_array;
+  [MinVersion=0] int32 f_int32;
+  [MinVersion=1] Rect? f_rect;
+  [MinVersion=3] string? f_string;
+  [MinVersion=5] array<int8>? f_array;
 };
 
 struct MultiVersionStructV7 {
-  [MinVersion=0]
-  int32 f_int32;
-  [MinVersion=1]
-  Rect? f_rect;
-  [MinVersion=3]
-  string? f_string;
-  [MinVersion=5]
-  array<int8>? f_array;
-  [MinVersion=7]
-  handle<message_pipe>? f_message_pipe;
-  [MinVersion=7]
-  bool f_bool;
+  [MinVersion=0] int32 f_int32;
+  [MinVersion=1] Rect? f_rect;
+  [MinVersion=3] string? f_string;
+  [MinVersion=5] array<int8>? f_array;
+  [MinVersion=7] handle<message_pipe>? f_message_pipe;
+  [MinVersion=7] bool f_bool;
 };
 
 // Used to verify that interfaces that are struct members can be defined in the
@@ -403,7 +379,6 @@
   SomeInterface&? nullable_req;
 };
 
-
 struct DartKeywordStruct {
   enum Keywords {
     AWAIT,
diff --git a/mojo/public/interfaces/bindings/tests/test_unions.mojom b/mojo/public/interfaces/bindings/tests/test_unions.mojom
index c6bb9aa..8d24061 100644
--- a/mojo/public/interfaces/bindings/tests/test_unions.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_unions.mojom
@@ -8,22 +8,23 @@
 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;
+  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 @@
 };
 
 union ObjectUnion {
-  int8   f_int8;
+  int8 f_int8;
   string f_string;
   DummyStruct f_dummy;
   DummyStruct? f_nullable;
diff --git a/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom b/mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom
index 61c1157..18f711b 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 {
@@ -33,12 +33,9 @@
 
 struct StructG {
   int32 i;
-  [MinVersion=1]
-  StructA? struct_a;
-  [MinVersion=3]
-  string? str;
-  [MinVersion=3]
-  bool b;
+  [MinVersion=1] StructA? struct_a;
+  [MinVersion=3] string? str;
+  [MinVersion=3] bool b;
 };
 
 struct StructH {
@@ -69,8 +66,7 @@
   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 +112,16 @@
   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,
   };
 };
diff --git a/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom b/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
index a1f0754..6cc7e1c 100644
--- a/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
+++ b/mojo/public/interfaces/bindings/tests/versioning_test_client.mojom
@@ -11,7 +11,7 @@
 
 enum Department {
   SALES,
-  DEV
+  DEV,
 };
 
 struct Employee {
@@ -28,8 +28,7 @@
       => (Employee? employee, [MinVersion=1] array<uint8>? finger_print);
 
   [MinVersion=1]
-  AttachFingerPrint(uint64 id, array<uint8> finger_print)
-      => (bool success);
+  AttachFingerPrint(uint64 id, array<uint8> finger_print) => (bool success);
 
   [MinVersion=2]
   ListEmployeeIds() => (array<uint64>? ids);
diff --git a/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom b/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
index f840cd3..750e64c 100644
--- a/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
+++ b/mojo/public/interfaces/bindings/tests/versioning_test_service.mojom
@@ -10,7 +10,7 @@
 
 enum Department {
   SALES,
-  DEV
+  DEV,
 };
 
 struct Date {
@@ -34,6 +34,5 @@
       => (Employee? employee, [MinVersion=1] array<uint8>? finger_print);
 
   [MinVersion=1]
-  AttachFingerPrint(uint64 id, array<uint8> finger_print)
-      => (bool success);
+  AttachFingerPrint(uint64 id, array<uint8> finger_print) => (bool success);
 };
diff --git a/mojo/public/interfaces/network/network_error.mojom b/mojo/public/interfaces/network/network_error.mojom
index d1f741d..4cecc89 100644
--- a/mojo/public/interfaces/network/network_error.mojom
+++ b/mojo/public/interfaces/network/network_error.mojom
@@ -9,5 +9,3 @@
   int32 code;
   string? description;
 };
-
-
diff --git a/mojo/services/asset_bundle/interfaces/asset_bundle.mojom b/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
index d6ccc3c..c1c3dbf 100644
--- a/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
+++ b/mojo/services/asset_bundle/interfaces/asset_bundle.mojom
@@ -12,5 +12,6 @@
 
 [ServiceName="mojo::asset_bundle::AssetUnpacker"]
 interface AssetUnpacker {
-  UnpackZipStream(handle<data_pipe_consumer> zipped_assets, AssetBundle& asset_bundle);
+  UnpackZipStream(handle<data_pipe_consumer> zipped_assets,
+                  AssetBundle& asset_bundle);
 };
diff --git a/mojo/services/authentication/interfaces/authentication.mojom b/mojo/services/authentication/interfaces/authentication.mojom
index 845e660..a745103 100644
--- a/mojo/services/authentication/interfaces/authentication.mojom
+++ b/mojo/services/authentication/interfaces/authentication.mojom
@@ -2,7 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo_services", JavaPackage="org.chromium.mojo.authentication"]
+[DartPackage="mojo_services",
+ JavaPackage="org.chromium.mojo.authentication"]
 module authentication;
 
 // Interface to handle user identity and authentication tokens.
@@ -20,8 +21,8 @@
   // Requests an oauth2 token for the given Google account with the given
   // scopes.  In case of error, token will be null and error will contain a
   // description of the error.
-  GetOAuth2Token(string username, array<string> scopes) =>
-      (string? token, string? error);
+  GetOAuth2Token(string username, array<string> scopes)
+      => (string? token, string? error);
 
   // Requests to clear a previously acquired token. This should be called when a
   // token is refused by a server component before requesting a new token to
@@ -35,10 +36,11 @@
   // Google account credentials, invoke GetOAuth2DeviceCode() method followed by
   // AddAccount() instead of using SelectAccount(), which only works for
   // Android.
-  GetOAuth2DeviceCode(array<string> scopes) => (string? verification_url,
-                                                string? device_code,
-                                                string? user_code,
-                                                string? error);
+  GetOAuth2DeviceCode(array<string> scopes)
+      => (string? verification_url,
+          string? device_code,
+          string? user_code,
+          string? error);
 
   // Exchanges an oauth2 device code to a refresh token for the granted user,
   // and stores it locally in a secure storage location on FNL. For future
diff --git a/mojo/services/clipboard/interfaces/clipboard.mojom b/mojo/services/clipboard/interfaces/clipboard.mojom
index 04f7ce2..7dce28c 100644
--- a/mojo/services/clipboard/interfaces/clipboard.mojom
+++ b/mojo/services/clipboard/interfaces/clipboard.mojom
@@ -10,7 +10,7 @@
   enum Type {
     COPY_PASTE = 0,
     SELECTION = 1,
-    DRAG = 2
+    DRAG = 2,
   };
 
   // Mime type constants
diff --git a/mojo/services/contacts/interfaces/contacts.mojom b/mojo/services/contacts/interfaces/contacts.mojom
index ab10e73..397722d 100644
--- a/mojo/services/contacts/interfaces/contacts.mojom
+++ b/mojo/services/contacts/interfaces/contacts.mojom
@@ -14,7 +14,6 @@
 // Interface to query current user contacts.
 [ServiceName="contacts::ContactsService"]
 interface ContactsService {
-
   // Returns the number of contacts that match the given |filter|. |filter|
   // will be matched against the contact name without considering the case. A
   // contact will match as soon as a part of the name match the filter.
diff --git a/mojo/services/files/interfaces/directory.mojom b/mojo/services/files/interfaces/directory.mojom
index d4759d1..e7af0ec 100644
--- a/mojo/services/files/interfaces/directory.mojom
+++ b/mojo/services/files/interfaces/directory.mojom
@@ -36,14 +36,12 @@
   // Opens the file specified by |path| with the given |open_flags|. |file| is
   // optional, mainly for consistency with |OpenDirectory()| (but may be useful,
   // together with |kOpenFlagCreate|, for "touching" a file).
-  OpenFile(string path, File&? file, uint32 open_flags)
-      => (Error error);
+  OpenFile(string path, File&? file, uint32 open_flags) => (Error error);
 
   // Opens the directory specified by |path|. |directory| is optional, so that
   // this may be used as a simple "mkdir()" with |kOpenFlagCreate|.
-  OpenDirectory(string path,
-                Directory&? directory,
-                uint32 open_flags) => (Error error);
+  OpenDirectory(string path, Directory&? directory, uint32 open_flags)
+      => (Error error);
 
   // Renames/moves the file/directory given by |path| to |new_path|.
   Rename(string path, string new_path) => (Error error);
diff --git a/mojo/services/files/interfaces/file.mojom b/mojo/services/files/interfaces/file.mojom
index c2f2bdd..9a88a8b 100644
--- a/mojo/services/files/interfaces/file.mojom
+++ b/mojo/services/files/interfaces/file.mojom
@@ -42,7 +42,8 @@
   ReadToStream(handle<data_pipe_producer> source,
                int64 offset,
                Whence whence,
-               int64 num_bytes_to_read) => (Error error);
+               int64 num_bytes_to_read)
+      => (Error error);
   WriteFromStream(handle<data_pipe_consumer> sink, int64 offset, Whence whence)
       => (Error error);
 
diff --git a/mojo/services/files/interfaces/ioctl_terminal.mojom b/mojo/services/files/interfaces/ioctl_terminal.mojom
index 1996875..9fede2c 100644
--- a/mojo/services/files/interfaces/ioctl_terminal.mojom
+++ b/mojo/services/files/interfaces/ioctl_terminal.mojom
@@ -67,6 +67,7 @@
 const uint32 kIoctlTerminalSetWindowSize = 4;
 
 // Constants for "termios" fields ----------------------------------------------
+// no-format
 
 // Number of base/nonoptional fields:
 const uint32 kIoctlTerminalTermiosBaseFieldCount = 6;
@@ -182,3 +183,5 @@
 const uint32 kIoctlTerminalTermiosLFlagECHONL = 0x0040;
 const uint32 kIoctlTerminalTermiosLFlagNOFLSH = 0x0080;
 const uint32 kIoctlTerminalTermiosLFlagTOSTOP = 0x0100;
+
+// end-no-format
diff --git a/mojo/services/gfx/composition/interfaces/compositor.mojom b/mojo/services/gfx/composition/interfaces/compositor.mojom
index fb1bd69..69a9588 100644
--- a/mojo/services/gfx/composition/interfaces/compositor.mojom
+++ b/mojo/services/gfx/composition/interfaces/compositor.mojom
@@ -6,10 +6,10 @@
 module mojo.gfx.composition;
 
 import "mojo/services/geometry/interfaces/geometry.mojom";
-import "mojo/services/gpu/interfaces/context_provider.mojom";
+import "mojo/services/gfx/composition/interfaces/renderers.mojom";
 import "mojo/services/gfx/composition/interfaces/scene_token.mojom";
 import "mojo/services/gfx/composition/interfaces/scenes.mojom";
-import "mojo/services/gfx/composition/interfaces/renderers.mojom";
+import "mojo/services/gpu/interfaces/context_provider.mojom";
 
 // Maximum length for a scene or renderer label.
 const uint32 kLabelMaxLength = 32;
@@ -53,5 +53,6 @@
   //
   // To destroy the renderer, simply close the |renderer| message pipe.
   CreateRenderer(mojo.ContextProvider context_provider,
-                 Renderer& renderer, string? label);
+                 Renderer& renderer,
+                 string? label);
 };
diff --git a/mojo/services/gfx/composition/interfaces/nodes.mojom b/mojo/services/gfx/composition/interfaces/nodes.mojom
index 19e2430..c2326ce 100644
--- a/mojo/services/gfx/composition/interfaces/nodes.mojom
+++ b/mojo/services/gfx/composition/interfaces/nodes.mojom
@@ -251,7 +251,7 @@
   // The version of the scene that we would like to reference.
   // Use |kSceneVersionNone| to request the most recently published
   // version of the scene if synchronization is unimportant.
-  uint32 scene_version = 0; // kSceneVersionNone
+  uint32 scene_version = 0;  // kSceneVersionNone
 };
 
 // Draws a layer.
diff --git a/mojo/services/gfx/composition/interfaces/renderers.mojom b/mojo/services/gfx/composition/interfaces/renderers.mojom
index 0661fc4..a911d40 100644
--- a/mojo/services/gfx/composition/interfaces/renderers.mojom
+++ b/mojo/services/gfx/composition/interfaces/renderers.mojom
@@ -29,8 +29,9 @@
   // It is an error to create a renderer with an invalid |scene_token|
   // or |size|; the connection will be closed.
   // TODO: make this an event instead
-  SetRootScene(SceneToken scene_token, uint32 scene_version,
-    mojo.Rect viewport);
+  SetRootScene(SceneToken scene_token,
+               uint32 scene_version,
+               mojo.Rect viewport);
 
   // Dissociates the root scene from the renderer.
   ClearRootScene();
diff --git a/mojo/services/gfx/composition/interfaces/scenes.mojom b/mojo/services/gfx/composition/interfaces/scenes.mojom
index 2e7f631..158f964 100644
--- a/mojo/services/gfx/composition/interfaces/scenes.mojom
+++ b/mojo/services/gfx/composition/interfaces/scenes.mojom
@@ -209,7 +209,7 @@
   //
   // Note that version numbers are unordered; there is no need to increment
   // them monotonically.  Values may also be reused at will.
-  uint32 version = 0; // kSceneVersionNone
+  uint32 version = 0;  // kSceneVersionNone
 
   // A timestamp indicating approximately when the published contents of the
   // scene are to be shown on the display output assuming everything is
diff --git a/mojo/services/gfx/images/interfaces/image.mojom b/mojo/services/gfx/images/interfaces/image.mojom
index 20ab8ab..98c2f30 100644
--- a/mojo/services/gfx/images/interfaces/image.mojom
+++ b/mojo/services/gfx/images/interfaces/image.mojom
@@ -33,10 +33,10 @@
 
 // Image wraps ImageBuffer and provides image-specific metadata for the buffer
 struct Image {
-  mojo.Size size; //width and height of image in pixels
-  uint32 stride; //bytes per row
-  uint32 pitch; // pixels per row
-  ColorFormat format; //pixel format
+  mojo.Size size;  // width and height of image in pixels
+  uint32 stride;  // bytes per row
+  uint32 pitch;  // pixels per row
+  ColorFormat format;  // pixel format
   ImageBuffer buffer;
 };
 
diff --git a/mojo/services/gfx/images/interfaces/image_pipe.mojom b/mojo/services/gfx/images/interfaces/image_pipe.mojom
index b12c5ff..0c3e6e4 100644
--- a/mojo/services/gfx/images/interfaces/image_pipe.mojom
+++ b/mojo/services/gfx/images/interfaces/image_pipe.mojom
@@ -24,7 +24,6 @@
 // provides mechanisms for the producer and the consumer to negotiate about who
 // owns each image in the pool at a given point in time.
 interface ImagePipe {
-
   // Add an image persistently to the pipe's image pool
   // Adding an image that is already added, or using an ID that is already in
   // use are both errors and will cause the connection to close.
@@ -46,5 +45,4 @@
   // not being used by the consumer if the consumer is presenting this image,
   // that image may still be presented and its Present reply will reflect that.
   FlushImages();
-
-};
\ No newline at end of file
+};
diff --git a/mojo/services/gpu/interfaces/command_buffer.mojom b/mojo/services/gpu/interfaces/command_buffer.mojom
index 0360a09..5cb2d33 100644
--- a/mojo/services/gpu/interfaces/command_buffer.mojom
+++ b/mojo/services/gpu/interfaces/command_buffer.mojom
@@ -42,8 +42,9 @@
   SetGetBuffer(int32 buffer);
   Flush(int32 put_offset);
   MakeProgress(int32 last_get_offset);
-  RegisterTransferBuffer(
-      int32 id, handle<shared_buffer> transfer_buffer, uint32 size);
+  RegisterTransferBuffer(int32 id,
+                         handle<shared_buffer> transfer_buffer,
+                         uint32 size);
   DestroyTransferBuffer(int32 id);
 
   // InsertSyncPoint returns the sync point returned via DidInsertSyncPoint.
diff --git a/mojo/services/input_events/interfaces/input_event_constants.mojom b/mojo/services/input_events/interfaces/input_event_constants.mojom
index 9c84681..babb81b 100644
--- a/mojo/services/input_events/interfaces/input_event_constants.mojom
+++ b/mojo/services/input_events/interfaces/input_event_constants.mojom
@@ -17,6 +17,7 @@
 
 // This mirrors ui::EventFlags
 // TODO(morrita): Use shift operator once it is available.
+// no-format
 enum EventFlags {
   NONE                =      0,
   CAPS_LOCK_DOWN      =      1,
@@ -45,3 +46,4 @@
   TOUCH,
   MOUSE,
 };
+// end-no-format
diff --git a/mojo/services/input_events/interfaces/input_key_codes.mojom b/mojo/services/input_events/interfaces/input_key_codes.mojom
index f22b7b9..658f116 100644
--- a/mojo/services/input_events/interfaces/input_key_codes.mojom
+++ b/mojo/services/input_events/interfaces/input_key_codes.mojom
@@ -1,6 +1,7 @@
 // Copyright 2014 The Chromium Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
+// no-format
 
 [DartPackage="mojo_services"]
 module mojo;
@@ -185,3 +186,4 @@
   // VK_OEM_AX to represent AltGr, matching the behaviour of Firefox on Linux.
   ALTGR                     = 0xE1,
 };
+// end-no-format
diff --git a/mojo/services/keyboard/interfaces/keyboard.mojom b/mojo/services/keyboard/interfaces/keyboard.mojom
index 1914820..799bcba 100644
--- a/mojo/services/keyboard/interfaces/keyboard.mojom
+++ b/mojo/services/keyboard/interfaces/keyboard.mojom
@@ -55,7 +55,6 @@
 
 [ServiceName="keyboard::KeyboardServiceFactory"]
 interface KeyboardServiceFactory {
-  CreateKeyboardService(
-      mojo.NativeViewportEventDispatcher& keyEventDispatcher,
-      KeyboardService& serviceRequest);
+  CreateKeyboardService(mojo.NativeViewportEventDispatcher& keyEventDispatcher,
+                        KeyboardService& serviceRequest);
 };
diff --git a/mojo/services/location/interfaces/geocoder.mojom b/mojo/services/location/interfaces/geocoder.mojom
index e9b8118..9ac5e08 100644
--- a/mojo/services/location/interfaces/geocoder.mojom
+++ b/mojo/services/location/interfaces/geocoder.mojom
@@ -61,6 +61,8 @@
 };
 
 interface Geocoder {
-  AddressToLocation(string address, Options? options) => (string status, array<Result>? results);
-  LocationToAddress(Location location, Options? options) => (string status, array<Result>? results);
+  AddressToLocation(string address, Options? options)
+      => (string status, array<Result>? results);
+  LocationToAddress(Location location, Options? options)
+      => (string status, array<Result>? results);
 };
diff --git a/mojo/services/media/audio/interfaces/audio_track.mojom b/mojo/services/media/audio/interfaces/audio_track.mojom
index a33d83b..b9f251e 100644
--- a/mojo/services/media/audio/interfaces/audio_track.mojom
+++ b/mojo/services/media/audio/interfaces/audio_track.mojom
@@ -34,7 +34,7 @@
   // Neither of these values may be 0.  A configuration error will occur if they
   // are.
   uint32 audio_frame_ratio = 1;
-  uint32 media_time_ratio  = 1;
+  uint32 media_time_ratio = 1;
 };
 
 interface AudioTrack {
diff --git a/mojo/services/media/common/interfaces/media_clock.mojom b/mojo/services/media/common/interfaces/media_clock.mojom
index 8fdb104..42803e6 100644
--- a/mojo/services/media/common/interfaces/media_clock.mojom
+++ b/mojo/services/media/common/interfaces/media_clock.mojom
@@ -24,7 +24,7 @@
   PREFER_MASTER,
 
   // Component must be master and cannot slave to a master clock.
-  MASTER
+  MASTER,
 };
 
 interface Clock {
diff --git a/mojo/services/media/common/interfaces/media_common.mojom b/mojo/services/media/common/interfaces/media_common.mojom
index e5edc95..f8bbdce 100644
--- a/mojo/services/media/common/interfaces/media_common.mojom
+++ b/mojo/services/media/common/interfaces/media_common.mojom
@@ -13,6 +13,7 @@
 // see
 // https://docs.google.com/document/d/1A5QL20LzfRDOmsQKyHnA5HK1ZlmrLwAQO9y98GiDNyI/edit
 //
+// no-format
 enum MediaResult {
   OK                     = 0,   // direct map to MojoResult::OK
   UNKNOWN_ERROR          = -1,  // bucket -> UNKNOWN
@@ -34,3 +35,4 @@
   SHUTTING_DOWN          = -15, // bucket -> FAILED_PRECON
   CONNECTION_LOST        = -16, // bucket -> INTERNAL?
 };
+// end-no-format
diff --git a/mojo/services/media/common/interfaces/media_state.mojom b/mojo/services/media/common/interfaces/media_state.mojom
index ca7294c..76a6536 100644
--- a/mojo/services/media/common/interfaces/media_state.mojom
+++ b/mojo/services/media/common/interfaces/media_state.mojom
@@ -21,5 +21,5 @@
   PLAYING,
 
   // Stopped playing because end-of-stream was encountered.
-  ENDED
+  ENDED,
 };
diff --git a/mojo/services/media/common/interfaces/media_transport.mojom b/mojo/services/media/common/interfaces/media_transport.mojom
index 736a8ce..8e6a99b 100644
--- a/mojo/services/media/common/interfaces/media_transport.mojom
+++ b/mojo/services/media/common/interfaces/media_transport.mojom
@@ -115,7 +115,7 @@
   // the pipe using the SendPacket method.
   enum SendResult {
     CONSUMED,  // Media was completely consumed.
-    FLUSHED,   // Some or all of the media was flushed before being consumed.
+    FLUSHED,  // Some or all of the media was flushed before being consumed.
   };
 
   // Sets the shared buffer in which packet payload will be located.
diff --git a/mojo/services/media/common/interfaces/media_types.mojom b/mojo/services/media/common/interfaces/media_types.mojom
index 76f2de0..0babb66 100644
--- a/mojo/services/media/common/interfaces/media_types.mojom
+++ b/mojo/services/media/common/interfaces/media_types.mojom
@@ -74,7 +74,7 @@
 
   // Indicates video. See VideoMediaTypeDetails and VideoMediaTypeSetDetails.
   // TODO(dalesat): One scheme for video won't be adequate.
-  VIDEO
+  VIDEO,
 };
 
 // A union of all media type details.
@@ -128,10 +128,10 @@
 
   // 24-bit signed samples in 32 bits, host-endian, sample size 4 bytes.
   // TODO(johngro): describe the packing for this
-  SIGNED_24_IN_32, // Host endian
+  SIGNED_24_IN_32,  // Host endian
 
   // 32-bit floating-point samples, sample size 4 bytes.
-  FLOAT
+  FLOAT,
 };
 
 // Media type details for the Multiplexed scheme.
@@ -161,7 +161,7 @@
   // Placeholder indicating any audio encoding.
   ANY,
 
-  VORBIS
+  VORBIS,
 };
 
 // Media type details for the COMPRESSED_AUDIO scheme.
@@ -221,7 +221,7 @@
   ANY,
 
   THEORA,
-  VP8
+  VP8,
 };
 
 // Video profiles.
@@ -239,7 +239,7 @@
   H264_SCALABLE_BASELINE,
   H264_SCALABLE_HIGH,
   H264_STEREO_HIGH,
-  H264_MULTIVIEW_HIGH
+  H264_MULTIVIEW_HIGH,
 };
 
 // Pixel format.
@@ -260,7 +260,7 @@
   RGB24,  // 24bpp BGR, 1 plane.
   RGB32,  // 32bpp BGRA, 1 plane.
   MJPEG,  // MJPEG compressed.
-  MT21
+  MT21,
 };
 
 // Pixel format.
@@ -270,5 +270,5 @@
   NOT_APPLICABLE,
   JPEG,
   HD_REC709,
-  SD_REC601
+  SD_REC601,
 };
diff --git a/mojo/services/media/common/interfaces/rate_control.mojom b/mojo/services/media/common/interfaces/rate_control.mojom
index da272a2..9e7837a 100644
--- a/mojo/services/media/common/interfaces/rate_control.mojom
+++ b/mojo/services/media/common/interfaces/rate_control.mojom
@@ -33,12 +33,14 @@
 // See also...
 // mojo/services/media/common/linear_transform.h
 //
+// no-format
 struct TimelineQuad {
   int64  reference_offset = 0;
   int64  target_offset    = 0;
   int32  reference_delta  = 0;
   uint32 target_delta     = 1;
 };
+// end-no-format
 
 // TimelineTransform
 // TODO(dalesat): Rename reference -> presentation.
@@ -50,11 +52,11 @@
   // TODO: These constants should probably defined by a central time management
   // service, not here.
   const uint32 kLocalTimeID = 0xFFFFFFFF;
-  const uint32 kContextual  = 0xFFFFFFFE;
+  const uint32 kContextual = 0xFFFFFFFE;
 
   TimelineQuad quad;
   uint32 reference_timeline_id = kContextual;
-  uint32 target_timeline_id    = kLocalTimeID;
+  uint32 target_timeline_id = kLocalTimeID;
 };
 
 // RateControl
diff --git a/mojo/services/media/control/interfaces/media_factory.mojom b/mojo/services/media/control/interfaces/media_factory.mojom
index b2f2f37..8863f2e 100644
--- a/mojo/services/media/control/interfaces/media_factory.mojom
+++ b/mojo/services/media/control/interfaces/media_factory.mojom
@@ -23,10 +23,9 @@
   // one of the allowed types. If a stream cannot be converted to one of the
   // allowed types, its media type will have the scheme NONE, and the stream
   // will not be usable.
-  CreateSource(
-      string origin_url,
-      array<MediaTypeSet>? allowed_media_types,
-      MediaSource& source);
+  CreateSource(string origin_url,
+               array<MediaTypeSet>? allowed_media_types,
+               MediaSource& source);
 
   // Creates a sink. Conversions are added to the pipeline as appropriate to
   // convert the indicated media type to a type compatible with the
diff --git a/mojo/services/media/control/interfaces/media_player.mojom b/mojo/services/media/control/interfaces/media_player.mojom
index f9907bb..b612c17 100644
--- a/mojo/services/media/control/interfaces/media_player.mojom
+++ b/mojo/services/media/control/interfaces/media_player.mojom
@@ -29,8 +29,8 @@
   // Gets the status. To get the status immediately, call
   // GetStatus(kInitialStatus). To get updates thereafter, pass the version
   // sent in the previous callback.
-  GetStatus(uint64 version_last_seen) =>
-      (uint64 version, MediaPlayerStatus status);
+  GetStatus(uint64 version_last_seen)
+      => (uint64 version, MediaPlayerStatus status);
 };
 
 // MediaPlayer status information.
diff --git a/mojo/services/media/control/interfaces/media_sink.mojom b/mojo/services/media/control/interfaces/media_sink.mojom
index 14c2f40..fb7fbc8 100644
--- a/mojo/services/media/control/interfaces/media_sink.mojom
+++ b/mojo/services/media/control/interfaces/media_sink.mojom
@@ -37,8 +37,8 @@
   // Gets the status. To get the status immediately, call
   // GetStatus(kInitialStatus). To get updates thereafter, pass the version
   // sent in the previous callback.
-  GetStatus(uint64 version_last_seen) =>
-      (uint64 version, MediaSinkStatus status);
+  GetStatus(uint64 version_last_seen)
+      => (uint64 version, MediaSinkStatus status);
 
   // Starts playback.
   Play();
diff --git a/mojo/services/media/control/interfaces/media_source.mojom b/mojo/services/media/control/interfaces/media_source.mojom
index 59f40c4..3ccb888 100644
--- a/mojo/services/media/control/interfaces/media_source.mojom
+++ b/mojo/services/media/control/interfaces/media_source.mojom
@@ -39,8 +39,8 @@
   // Gets the status. To get the status immediately, call
   // GetStatus(kInitialStatus). To get updates thereafter, pass the version
   // sent in the previous callback.
-  GetStatus(uint64 version_last_seen) =>
-      (uint64 version, MediaSourceStatus status);
+  GetStatus(uint64 version_last_seen)
+      => (uint64 version, MediaSourceStatus status);
 
   // Prepares the source.
   Prepare() => ();
diff --git a/mojo/services/native_support/interfaces/process.mojom b/mojo/services/native_support/interfaces/process.mojom
index b68b7da..f90ec0c 100644
--- a/mojo/services/native_support/interfaces/process.mojom
+++ b/mojo/services/native_support/interfaces/process.mojom
@@ -32,17 +32,18 @@
         mojo.files.File? stdin_file,
         mojo.files.File? stdout_file,
         mojo.files.File? stderr_file,
-        ProcessController& process_controller) => (mojo.files.Error error);
+        ProcessController& process_controller)
+      => (mojo.files.Error error);
   // Like |Spawn()|, except that the child's stdin/stdout/stderr are redirected
   // from/to |terminal_file|, which should be a |mojo.files.File| for a terminal
   // (i.e., one that behaves like one, including responding to the required
   // ioctls).
-  SpawnWithTerminal(
-      array<uint8> path,
-      array<array<uint8>>? argv,
-      array<array<uint8>>? envp,
-      mojo.files.File terminal_file,
-      ProcessController& process_controller) => (mojo.files.Error error);
+  SpawnWithTerminal(array<uint8> path,
+                    array<array<uint8>>? argv,
+                    array<array<uint8>>? envp,
+                    mojo.files.File terminal_file,
+                    ProcessController& process_controller)
+      => (mojo.files.Error error);
 };
 
 // Interface for controlling a process started by one of |Process|'s facilities
diff --git a/mojo/services/native_viewport/interfaces/native_viewport.mojom b/mojo/services/native_viewport/interfaces/native_viewport.mojom
index ee53e81..b33d244 100644
--- a/mojo/services/native_viewport/interfaces/native_viewport.mojom
+++ b/mojo/services/native_viewport/interfaces/native_viewport.mojom
@@ -27,7 +27,8 @@
   // TODO(sky): having a create function is awkward. Should there be a factory
   // to create the NativeViewport that takes the size?
   // When the viewport is created it is initially shown.
-  Create(Size size, SurfaceConfiguration? requested_configuration) => (ViewportMetrics metrics);
+  Create(Size size, SurfaceConfiguration? requested_configuration)
+      => (ViewportMetrics metrics);
 
   Show();
   Hide();
diff --git a/mojo/services/navigation/interfaces/navigation.mojom b/mojo/services/navigation/interfaces/navigation.mojom
index ad8e7e6..7c3e49d 100644
--- a/mojo/services/navigation/interfaces/navigation.mojom
+++ b/mojo/services/navigation/interfaces/navigation.mojom
@@ -16,7 +16,7 @@
   SOURCE_NODE,
 
   // In a new ViewManager node
-  NEW_NODE
+  NEW_NODE,
 };
 
 // Embedders that support navigation of implement this interface.
diff --git a/mojo/services/network/interfaces/host_resolver.mojom b/mojo/services/network/interfaces/host_resolver.mojom
index 848e750..c683d0e 100644
--- a/mojo/services/network/interfaces/host_resolver.mojom
+++ b/mojo/services/network/interfaces/host_resolver.mojom
@@ -10,6 +10,6 @@
 
 interface HostResolver {
   // Get the list of IP addresses for host.
-  GetHostAddresses(string host, NetAddressFamily family) =>
-      (NetworkError result, array<NetAddress>? addresses);
+  GetHostAddresses(string host, NetAddressFamily family)
+      => (NetworkError result, array<NetAddress>? addresses);
 };
diff --git a/mojo/services/network/interfaces/net_address.mojom b/mojo/services/network/interfaces/net_address.mojom
index 3ec6afb..ebe0394 100644
--- a/mojo/services/network/interfaces/net_address.mojom
+++ b/mojo/services/network/interfaces/net_address.mojom
@@ -8,7 +8,7 @@
 enum NetAddressFamily {
   UNSPECIFIED,
   IPV4,
-  IPV6
+  IPV6,
 };
 
 struct NetAddressIPv4 {
diff --git a/mojo/services/network/interfaces/network_service.mojom b/mojo/services/network/interfaces/network_service.mojom
index 8ab0d1a..593cbfb 100644
--- a/mojo/services/network/interfaces/network_service.mojom
+++ b/mojo/services/network/interfaces/network_service.mojom
@@ -40,8 +40,7 @@
   // address and port for the OS to pick both the local address and port. In
   // all success cases, the resulting local address will be passed to the
   // callback as bound_to.
-  CreateTCPBoundSocket(NetAddress? local_address,
-                       TCPBoundSocket& bound_socket)
+  CreateTCPBoundSocket(NetAddress? local_address, TCPBoundSocket& bound_socket)
       => (NetworkError result, NetAddress? bound_to);
 
   // Creates a client socket connected to the given remote address. A local
@@ -59,8 +58,7 @@
                            handle<data_pipe_consumer> send_stream,
                            handle<data_pipe_producer> receive_stream,
                            TCPConnectedSocket& client_socket)
-      => (NetworkError result,
-          NetAddress? local_address);
+      => (NetworkError result, NetAddress? local_address);
 
   CreateUDPSocket(UDPSocket& socket);
 
@@ -72,10 +70,8 @@
   // address and port for the OS to pick both the local address and port. In
   // all success cases, the resulting local address will be passed to the
   // callback as bound_to.
-  CreateHttpServer(NetAddress local_address,
-                   HttpServerDelegate delegate)
-      => (NetworkError result,
-          NetAddress? bound_to);
+  CreateHttpServer(NetAddress local_address, HttpServerDelegate delegate)
+      => (NetworkError result, NetAddress? bound_to);
 
   // Register a new url loader interceptor that will be used on any new
   // URLLoader created with the current connection to the network service.
diff --git a/mojo/services/network/interfaces/udp_socket.mojom b/mojo/services/network/interfaces/udp_socket.mojom
index 73d1af7..2446026 100644
--- a/mojo/services/network/interfaces/udp_socket.mojom
+++ b/mojo/services/network/interfaces/udp_socket.mojom
@@ -30,17 +30,20 @@
   // returned in |bound_addr|. The caller may provide an implementation of
   // |receiver| to receive datagrams read from the socket. |receiver| is null
   // on failure.
-  Bind(NetAddress addr) => (NetworkError result, NetAddress? bound_addr,
-                            UDPSocketReceiver&? receiver);
+  Bind(NetAddress addr)
+      => (NetworkError result,
+          NetAddress? bound_addr,
+          UDPSocketReceiver&? receiver);
 
   // Connects the socket to the remote address. The socket must not be bound or
   // connected.
   // |local_addr| is non-null on success.
   // The caller may provide an implementation of |receiver| to receive datagrams
   // read from the socket. |receiver| is null on failure.
-  Connect(NetAddress remote_addr) => (NetworkError result,
-                                      NetAddress? local_addr,
-                                      UDPSocketReceiver&? receiver);
+  Connect(NetAddress remote_addr)
+      => (NetworkError result,
+          NetAddress? local_addr,
+          UDPSocketReceiver&? receiver);
 
   // Sets the OS send buffer size (in bytes) for the socket. The socket must be
   // bound or connected.
diff --git a/mojo/services/network/interfaces/url_loader_interceptor.mojom b/mojo/services/network/interfaces/url_loader_interceptor.mojom
index 6524157..2e3992d 100644
--- a/mojo/services/network/interfaces/url_loader_interceptor.mojom
+++ b/mojo/services/network/interfaces/url_loader_interceptor.mojom
@@ -27,8 +27,8 @@
   // Intercept a request before it is sent to the network. This method can
   // transform the request by returning the new requests to consider, or
   // respond to the request itself by returning a response.
-  InterceptRequest(URLRequest request) =>
-      (URLLoaderInterceptorResponse response);
+  InterceptRequest(URLRequest request)
+      => (URLLoaderInterceptorResponse response);
 
   // Intercept |URLLoader.FollowRedirect()| calls. This method can either
   // return null to let the call through, return a request to change the
@@ -39,8 +39,8 @@
   // can transform the response by returning the new response to send, ask
   // the loader to load a new request instead by returning the request to load,
   // or if the response is a redirect, follow it by returning null.
-  InterceptResponse(URLResponse response) =>
-      (URLLoaderInterceptorResponse? response);
+  InterceptResponse(URLResponse response)
+      => (URLLoaderInterceptorResponse? response);
 };
 
 // Response for the intercept methods. One and only one of the two fields
diff --git a/mojo/services/network/interfaces/web_socket.mojom b/mojo/services/network/interfaces/web_socket.mojom
index f588035..3273e42 100644
--- a/mojo/services/network/interfaces/web_socket.mojom
+++ b/mojo/services/network/interfaces/web_socket.mojom
@@ -11,7 +11,7 @@
   enum MessageType {
     CONTINUATION,
     TEXT,
-    BINARY
+    BINARY,
   };
   const uint16 kAbnormalCloseCode = 1006;  // stolen from websocket_bridge
 
diff --git a/mojo/services/nfc/interfaces/nfc.mojom b/mojo/services/nfc/interfaces/nfc.mojom
index 97bab7a..ba3009b 100644
--- a/mojo/services/nfc/interfaces/nfc.mojom
+++ b/mojo/services/nfc/interfaces/nfc.mojom
@@ -33,7 +33,7 @@
   // MojoShell installed it will be directed to the Play Store to download
   // MojoShell.
   TransmitOnNextConnection(NfcData nfc_data, NfcTransmission&? transmission)
-    => (bool success);
+      => (bool success);
 
   // Registers an app to receive nfc messages.  Upon receiving an nfc message
   // the app will be connected to.  If the app exposes a NfcReceiver interface
diff --git a/mojo/services/notifications/interfaces/notifications.mojom b/mojo/services/notifications/interfaces/notifications.mojom
index 5739466..0d7ac4a 100644
--- a/mojo/services/notifications/interfaces/notifications.mojom
+++ b/mojo/services/notifications/interfaces/notifications.mojom
@@ -51,6 +51,7 @@
   // |notification_data| and with any interactions with the notification being
   // communicated to |client|.  |notification| can be used to modify or cancel
   // the notification.
-  Post(NotificationData notification_data, NotificationClient? client,
+  Post(NotificationData notification_data,
+       NotificationClient? client,
        Notification&? notification);
 };
diff --git a/mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom b/mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom
index e2818be..1952425 100644
--- a/mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom
+++ b/mojo/services/ozone_drm_gpu/interfaces/ozone_drm_gpu.mojom
@@ -15,7 +15,7 @@
   DVI = 16,
   DISPLAYPORT = 32,
   NETWORK = 64,
-  LAST = NETWORK
+  LAST = NETWORK,
 };
 
 struct DisplayMode {
diff --git a/mojo/services/prediction/interfaces/prediction.mojom b/mojo/services/prediction/interfaces/prediction.mojom
index 627a740..a1a8291 100644
--- a/mojo/services/prediction/interfaces/prediction.mojom
+++ b/mojo/services/prediction/interfaces/prediction.mojom
@@ -6,16 +6,17 @@
 module prediction;
 
 struct PrevWordInfo {
-	string word;
-	bool is_beginning_of_sentence;
+  string word;
+  bool is_beginning_of_sentence;
 };
 
 struct PredictionInfo {
-	array<PrevWordInfo> previous_words;
-	string current_word;
+  array<PrevWordInfo> previous_words;
+  string current_word;
 };
 
 [ServiceName="prediction::PredictionService"]
 interface PredictionService {
-  GetPredictionList(PredictionInfo prediction_info) => (array<string>? prediction_list);
+  GetPredictionList(PredictionInfo prediction_info)
+      => (array<string>? prediction_list);
 };
diff --git a/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom b/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
index 9039589..01319f7 100644
--- a/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
+++ b/mojo/services/speech_recognizer/interfaces/speech_recognizer.mojom
@@ -2,7 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo_services", JavaPackage="org.chromium.mojo.speech_recognizer"]
+[DartPackage="mojo_services",
+ JavaPackage="org.chromium.mojo.speech_recognizer"]
 module speech_recognizer;
 
 enum Error {
@@ -14,7 +15,7 @@
   SPEECH_TIMEOUT = 6,
   NO_MATCH = 7,
   RECOGNIZER_BUSY = 8,
-  INSUFFICIENT_PERMISSIONS = 9
+  INSUFFICIENT_PERMISSIONS = 9,
 };
 
 struct UtteranceCandidate {
diff --git a/mojo/services/surfaces/interfaces/display.mojom b/mojo/services/surfaces/interfaces/display.mojom
index 268b153..cc0cca2 100644
--- a/mojo/services/surfaces/interfaces/display.mojom
+++ b/mojo/services/surfaces/interfaces/display.mojom
@@ -31,4 +31,3 @@
          ResourceReturner? returner,
          Display& display_request);
 };
-
diff --git a/mojo/services/surfaces/interfaces/quads.mojom b/mojo/services/surfaces/interfaces/quads.mojom
index b410d72..ec2e6f5 100644
--- a/mojo/services/surfaces/interfaces/quads.mojom
+++ b/mojo/services/surfaces/interfaces/quads.mojom
@@ -78,11 +78,13 @@
 
 struct StreamVideoQuadState {};
 
+// no-format
 enum YUVColorSpace {
   REC_601,       // SDTV standard with restricted "studio swing" color range.
   REC_709,       // HDTV standard with restricted "studio swing" color range.
   JPEG,          // Full color range [0, 255] JPEG color space.
 };
+// end-no-format
 
 struct YUVVideoQuadState {
   RectF tex_coord_rect;
@@ -144,6 +146,7 @@
 };
 
 enum SkXfermode {
+  // no-format
   kClear_Mode = 0,    //!< [0, 0]
   kSrc_Mode,      //!< [Sa, Sc]
   kDst_Mode,      //!< [Da, Dc]
@@ -158,6 +161,7 @@
   kXor_Mode,      //!< [Sa + Da - 2 * Sa * Da, Sc * (1 - Da) + (1 - Sa) * Dc]
   kPlus_Mode,     //!< [Sa + Da, Sc + Dc]
   kModulate_Mode, // multiplies all components (= alpha and color)
+  // end-no-format
 
   // Following blend modes are defined in the CSS Compositing standard:
   // https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending
@@ -180,7 +184,7 @@
   kSaturation_Mode,
   kColor_Mode,
   kLuminosity_Mode,
-  kLastMode = kLuminosity_Mode
+  kLastMode = kLuminosity_Mode,
 };
 
 struct SharedQuadState {
diff --git a/mojo/services/ui/views/interfaces/view_associates.mojom b/mojo/services/ui/views/interfaces/view_associates.mojom
index c307ebe..8fcac9c 100644
--- a/mojo/services/ui/views/interfaces/view_associates.mojom
+++ b/mojo/services/ui/views/interfaces/view_associates.mojom
@@ -49,8 +49,9 @@
   // requested service, it should close the |pipe|.
   //
   // The |view_token| is the token of the view which requested the service.
-  ConnectToViewService(ViewToken view_token, string service_name,
-      handle<message_pipe> pipe);
+  ConnectToViewService(ViewToken view_token,
+                       string service_name,
+                       handle<message_pipe> pipe);
 
   // Asks the associate to provide the view tree service identified by
   // |interface_name| through the message |pipe| endpoint supplied by
@@ -60,7 +61,8 @@
   // The |view_tree_token| is the token of the view tree which requested
   // the service.
   ConnectToViewTreeService(ViewTreeToken view_tree_token,
-      string service_name, handle<message_pipe> pipe);
+                           string service_name,
+                           handle<message_pipe> pipe);
 };
 
 // Provides information about the services offered by an associate.
@@ -89,8 +91,8 @@
   // again to obtain a new one.  Otherwise it should assume that the view
   // tree has become unavailable (so no hit tester is available).
   GetHitTester(ViewTreeToken view_tree_token,
-      mojo.gfx.composition.HitTester& hit_tester) =>
-      (bool renderer_changed);
+               mojo.gfx.composition.HitTester& hit_tester)
+      => (bool renderer_changed);
 
   // Given an array of scene tokens, produces an array of view tokens
   // of equal size containing the view to which the scene belongs or null
@@ -99,6 +101,6 @@
   // It is safe to cache the results of this operation because a scene will
   // only ever be associated with at most one view although a view may
   // create several scenes during its lifetime.
-  ResolveScenes(array<mojo.gfx.composition.SceneToken> scene_tokens) =>
-      (array<ViewToken?> view_tokens);
+  ResolveScenes(array<mojo.gfx.composition.SceneToken> scene_tokens)
+      => (array<ViewToken?> view_tokens);
 };
diff --git a/mojo/services/ui/views/interfaces/view_manager.mojom b/mojo/services/ui/views/interfaces/view_manager.mojom
index fdc7cb8..6592ea9 100644
--- a/mojo/services/ui/views/interfaces/view_manager.mojom
+++ b/mojo/services/ui/views/interfaces/view_manager.mojom
@@ -5,9 +5,9 @@
 [DartPackage="mojo_services"]
 module mojo.ui;
 
-import "mojo/services/ui/views/interfaces/views.mojom";
 import "mojo/services/ui/views/interfaces/view_associates.mojom";
 import "mojo/services/ui/views/interfaces/view_trees.mojom";
+import "mojo/services/ui/views/interfaces/views.mojom";
 
 // Maximum length for a view or view tree label.
 const uint32 kLabelMaxLength = 32;
diff --git a/mojo/services/ui/views/interfaces/views.mojom b/mojo/services/ui/views/interfaces/views.mojom
index ddf2f66..bd348db 100644
--- a/mojo/services/ui/views/interfaces/views.mojom
+++ b/mojo/services/ui/views/interfaces/views.mojom
@@ -131,5 +131,6 @@
   // the requested |layout_params|, such as by returning a size which
   // exceeds the requested constraints; the view's connection will be closed.
   OnLayout(mojo.ui.ViewLayoutParams layout_params,
-    array<uint32> children_needing_layout) => (mojo.ui.ViewLayoutResult result);
+           array<uint32> children_needing_layout)
+      => (mojo.ui.ViewLayoutResult result);
 };
diff --git a/mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom b/mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom
index ebd6934..64a4954 100644
--- a/mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom
+++ b/mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom
@@ -17,45 +17,45 @@
 //            with http servers that do not support ETags.
 [ServiceName="mojo::URLResponseDiskCache"]
 interface URLResponseDiskCache {
+  // Given an URL, returns a tuple. If the |url| is not in the cache, all the
+  // response parameters are null. Otherwise |response| is the cached response
+  // stripped of the body, |file_path| is a file containing the body of the
+  // response and  |cache_dir_path| is a directory that the applicaton can use
+  // to store content. This service guarantee that |cache_dir_path| will be
+  // emptied when |file_path| content changes. For example, a content handler
+  // that is backed by a VM that compiles files could have the VM use this
+  // directory to cache the compiled files. After |Get| has been called and a
+  // response is returned, the caller must call |Validate| or |Update| to
+  // revalidate the entry. If this is not done, a future call to |Get| may
+  // return null.
+  Get(string url)
+      => (mojo.URLResponse? response,
+          array<uint8>? file_path,
+          array<uint8>? cache_dir_path);
 
-   // Given an URL, returns a tuple. If the |url| is not in the cache, all the
-   // response parameters are null. Otherwise |response| is the cached response
-   // stripped of the body, |file_path| is a file containing the body of the
-   // response and  |cache_dir_path| is a directory that the applicaton can use
-   // to store content. This service guarantee that |cache_dir_path| will be
-   // emptied when |file_path| content changes. For example, a content handler
-   // that is backed by a VM that compiles files could have the VM use this
-   // directory to cache the compiled files. After |Get| has been called and a
-   // response is returned, the caller must call |Validate| or |Update| to
-   // revalidate the entry. If this is not done, a future call to |Get| may
-   // return null.
-   Get(string url) => (mojo.URLResponse? response,
-                       array<uint8>? file_path,
-                       array<uint8>? cache_dir_path);
+  // Validate the cache for the given |url|. This will enforce that |Get| will
+  // return an entry if it exists.
+  Validate(string url);
 
-   // Validate the cache for the given |url|. This will enforce that |Get| will
-   // return an entry if it exists.
-   Validate(string url);
+  // Update the cache with the given response.
+  Update(mojo.URLResponse response);
 
-   // Update the cache with the given response.
-   Update(mojo.URLResponse response);
+  // Given a URLResponse, updates the cache and returns a pair of paths.
+  // |file_path| is a file containing the body of the response.
+  // |cache_dir_path| is a directory that the applicaton can use to store
+  // content. This service guarantee that |cache_dir_path| will be emptied
+  // when |file_path| content changes. For example, a content handler that is
+  // backed by a VM that compiles files could have the VM use this directory
+  // to cache the compiled files.
+  UpdateAndGet(mojo.URLResponse response)
+      => (array<uint8>? file_path, array<uint8>? cache_dir_path);
 
-   // Given a URLResponse, updates the cache and returns a pair of paths.
-   // |file_path| is a file containing the body of the response.
-   // |cache_dir_path| is a directory that the applicaton can use to store
-   // content. This service guarantee that |cache_dir_path| will be emptied
-   // when |file_path| content changes. For example, a content handler that is
-   // backed by a VM that compiles files could have the VM use this directory
-   // to cache the compiled files.
-   UpdateAndGet(mojo.URLResponse response) =>
-       (array<uint8>? file_path, array<uint8>? cache_dir_path);
-
-   // Given a URLResponse that is expected to have a zipped body, updates the
-   // cache and returns a pair of paths. |extracted_dir_path| is a directory
-   // containing the unzipped body of the response. |cache_dir_path| is a
-   // directory that the applicaton can use to store content. This service
-   // guarantee that |cache_dir_path| will be emptied when |extracted_dir_path|
-   // content changes.
-   UpdateAndGetExtracted(mojo.URLResponse response) =>
-       (array<uint8>? extracted_dir_path, array<uint8>? cache_dir_path);
+  // Given a URLResponse that is expected to have a zipped body, updates the
+  // cache and returns a pair of paths. |extracted_dir_path| is a directory
+  // containing the unzipped body of the response. |cache_dir_path| is a
+  // directory that the applicaton can use to store content. This service
+  // guarantee that |cache_dir_path| will be emptied when |extracted_dir_path|
+  // content changes.
+  UpdateAndGetExtracted(mojo.URLResponse response)
+      => (array<uint8>? extracted_dir_path, array<uint8>? cache_dir_path);
 };
diff --git a/mojom/mojom_parser/examples/example.mojom b/mojom/mojom_parser/examples/example.mojom
index 984d0c8..aac7351 100644
--- a/mojom/mojom_parser/examples/example.mojom
+++ b/mojom/mojom_parser/examples/example.mojom
@@ -5,7 +5,9 @@
 module sample;
 
 enum EnumeratedValue {
-  VALUE1, VALUE2, VALUE3,
+  VALUE1,
+  VALUE2,
+  VALUE3,
 };
 
 struct StructuredData {
diff --git a/services/authentication/authentication_impl_db.mojom b/services/authentication/authentication_impl_db.mojom
index 4273277..b16a6db 100644
--- a/services/authentication/authentication_impl_db.mojom
+++ b/services/authentication/authentication_impl_db.mojom
@@ -2,7 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-[DartPackage="mojo_services", JavaPackage="org.chromium.mojo.authentication"]
+[DartPackage="mojo_services",
+ JavaPackage="org.chromium.mojo.authentication"]
 module authentication;
 
 // Database for the authentication implementation.
diff --git a/services/authentication/credentials_impl_db.mojom b/services/authentication/credentials_impl_db.mojom
index 8128e56..f3d4e28 100644
--- a/services/authentication/credentials_impl_db.mojom
+++ b/services/authentication/credentials_impl_db.mojom
@@ -8,12 +8,12 @@
 // password in encrypted form, fully scoped master OAuth token or
 // downscoped OAuth token.
 enum CredentialType {
-  DOWNSCOPED_OAUTH_REFRESH_TOKEN = 1
+  DOWNSCOPED_OAUTH_REFRESH_TOKEN = 1,
 };
 
 // Specifies the type of identity provider for authenticating user.
 enum AuthProvider {
-  GOOGLE = 1
+  GOOGLE = 1,
 };
 
 // This struct is used to persist long lived credentials for each user and is
diff --git a/services/intent_receiver/intent_receiver.mojom b/services/intent_receiver/intent_receiver.mojom
index 6676117..dcdd650 100644
--- a/services/intent_receiver/intent_receiver.mojom
+++ b/services/intent_receiver/intent_receiver.mojom
@@ -25,8 +25,8 @@
   // |Context#startService|. Whenever the started activity sends a result, the
   // receiver will be called with the content of the received intent. If the
   // activity is cancelled, the receiver will be closed.
-  RegisterActivityResultReceiver(IntentReceiver receiver) =>
-      (array<uint8>? intent);
+  RegisterActivityResultReceiver(IntentReceiver receiver)
+      => (array<uint8>? intent);
 };
 
 // Receiver interface, to be used with |IntentReceiverManager|.
diff --git a/services/js/system/tests/js_to_cpp.mojom b/services/js/system/tests/js_to_cpp.mojom
index 688b22b..65e8e65 100644
--- a/services/js/system/tests/js_to_cpp.mojom
+++ b/services/js/system/tests/js_to_cpp.mojom
@@ -6,11 +6,11 @@
   int64 si64;
   int32 si32;
   int16 si16;
-  int8  si8;
+  int8 si8;
   uint64 ui64;
   uint32 ui32;
   uint16 ui16;
-  uint8  ui8;
+  uint8 ui8;
   float float_val;
   float float_inf;
   float float_nan;
diff --git a/services/js/test/network_test_service.mojom b/services/js/test/network_test_service.mojom
index f97ce2b..76557bb 100644
--- a/services/js/test/network_test_service.mojom
+++ b/services/js/test/network_test_service.mojom
@@ -12,4 +12,3 @@
   // Make it stop.
   Quit();
 };
-
diff --git a/shell/child_controller.mojom b/shell/child_controller.mojom
index a0bf785..94fbc46 100644
--- a/shell/child_controller.mojom
+++ b/shell/child_controller.mojom
@@ -8,8 +8,8 @@
 
 interface ChildController {
   // Starts the app at the given path.
-  StartApp(string app_path,
-           mojo.Application& application_request) => (int32 result);
+  StartApp(string app_path, mojo.Application& application_request)
+      => (int32 result);
 
   // Exits the child process now (with no cleanup), with the given exit code.
   ExitNow(int32 exit_code);
diff --git a/shell/test/pingable.mojom b/shell/test/pingable.mojom
index 33a6d91..ca3be6d 100644
--- a/shell/test/pingable.mojom
+++ b/shell/test/pingable.mojom
@@ -4,5 +4,6 @@
 
 [ServiceName="Pingable"]
 interface Pingable {
-  Ping(string message) => (string app_url, string connection_url, string message);
+  Ping(string message)
+      => (string app_url, string connection_url, string message);
 };