| 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,
|
| };
|
| };
|
|
|