|
mojom_types.mojom: Changes the name |interface_name| to |service_name| in struct MojomInterface.
Also the mojom parser now populates this field with the correct service name (that is, the value of the "ServiceName" attribute) if it is set. The field was changed to nullable and will be unset if the interface does not have the attribute.
We removed the logic from mojom_translator.py that gets the service name from the "ServiceName" attribute and instead get it from the service_name field (which was set to the value in the "ServiceName" attribute in the parser.) The
interface_name field of mojom.Interface is now obtained from the decl_data.short_name field. Previously it was obtained from the interface_name field (which was set to the value of decl_data.short_name in the parser.)
BUG=#448
R=azani@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/de0d6c66f4208bdaeec3ef1cfa76d5ee1c4c7428
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+167 lines, -1530 lines) |
Patch |
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_types.mojom.dart
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
mojo/public/interfaces/bindings/mojom_types.mojom
|
View
|
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_parser/bin/linux64/mojom_parser.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom_parser/bin/mac64/mojom_parser.sha1
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/pylib/mojom/generate/generated/mojom_types_mojom.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator.py
|
View
|
1
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/pylib/mojom/generate/mojom_translator_unittest.py
|
View
|
|
5 chunks |
+24 lines, -8 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/generated/mojom_types/mojom_types.mojom.go
|
View
|
|
33 chunks |
+16 lines, -1471 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/mojom/user_defined_types.go
|
View
|
1
|
2 chunks |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/serialization/serialization.go
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
mojom/mojom_parser/serialization/serialization_test.go
|
View
|
|
2 chunks |
+53 lines, -2 lines |
0 comments
|
Download
|
Total messages: 23 (18 generated)
|