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

Issue 1753013002: Mojom runtime type info: New implementation for Dart. (Closed)

Created:
4 years, 9 months ago by rudominer
Modified:
4 years, 9 months ago
Reviewers:
zra, azani, alexfandrianto
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org, yzshen+mojopublicwatch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Mojom runtime type info: New implementation for Dart. This is a follow on to https://codereview.chromium.org/1719873003/ and does for the Dart bindings the same thing that that change did for the Go bindings. Our implementation of runtime type information is changing and this CL implements the change for Dart. In the older implementation the runtime type structures are computed and constructed by the code generators (thus in Python and the Jinja 2 templates). In this newer implementation the Mojom parser computes the information and stores it in a mojom_types.RuntimeTypeInfo structure. Then the code generators insert a literal array of bytes representing a serialized RuntimeTypeInfo into the generated Dart code. At runtime all a Mojo application needs to do is deserialize the RuntimeTypeInfo struct and use it to answer queries. One particular change to note is that like with Go, the new implementation generates an implementation of getTopLevelInterface() that returns null for an interface that is not a top-level interface (i.e. is not marked with the "ServiceName" annotation.) BUG=#448 R=alexfandrianto@google.com, azani@chromium.org, zra@google.com Committed: https://chromium.googlesource.com/external/mojo/+/04e96bfd15364f988b745d76f17b59e214cb9cc6

Patch Set 1 #

Total comments: 14

Patch Set 2 : Response to code review. #

Total comments: 12

Patch Set 3 : Response to code review. #

Patch Set 4 : Experiment with moving service_describer.tests later in the list. #

Patch Set 5 : Comment out 'Quit' test. #

Total comments: 8

Patch Set 6 : Respond to code review. #

Patch Set 7 : Rebasing #

Patch Set 8 : Adds newline back to sha1 files. #

Patch Set 9 : No changes to sha1s #

Unified diffs Side-by-side diffs Delta from patch set Stats (+850 lines, -9323 lines) Patch
M mojo/dart/apptests/dart_apptests/lib/src/pingpong_apptests.dart View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart View 1 2 3 4 5 6 7 8 2 chunks +43 lines, -27 lines 0 comments Download
M mojo/dart/apptests/test_apps/pingpong/lib/main.dart View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart View 1 2 3 4 5 6 7 8 12 chunks +35 lines, -326 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +26 lines, -146 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/imported/sample_import2.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +20 lines, -100 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/math/math_calculator.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +24 lines, -135 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/examples/echo.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +23 lines, -67 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -41 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/serialization_test_structs.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +22 lines, -157 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_enums.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -41 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_included_unions.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -27 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart View 1 2 3 4 5 6 7 8 33 chunks +102 lines, -1741 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_unions.mojom.dart View 1 2 3 4 5 6 7 8 25 chunks +53 lines, -840 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/validation_test_interfaces.mojom.dart View 1 2 3 4 5 6 7 8 41 chunks +72 lines, -1069 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/versioning/versioning_test_client.mojom.dart View 1 2 3 4 5 6 7 8 12 chunks +32 lines, -253 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/regression_tests/regression_tests.mojom.dart View 1 2 3 4 5 6 7 8 35 chunks +64 lines, -688 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_factory.mojom.dart View 1 2 3 4 5 6 7 8 17 chunks +38 lines, -378 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_interfaces.mojom.dart View 1 2 3 4 5 6 7 8 22 chunks +41 lines, -439 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/sample/sample_service.mojom.dart View 1 2 3 4 5 6 7 8 15 chunks +51 lines, -628 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/echo_service.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +26 lines, -130 lines 0 comments Download
M mojo/dart/packages/_mojo_for_test_only/lib/test/pingpong_service.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +33 lines, -237 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/application_connector.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_files.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/mojom_types.mojom.dart View 1 2 3 4 5 6 7 8 32 chunks +0 lines, -65 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/bindings/types/service_describer.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/http_header.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -13 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/network_error.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/service_provider.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_request.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo/lib/mojo/url_response.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart View 1 2 3 4 5 6 7 8 25 chunks +0 lines, -51 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/authentication/authentication.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -13 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/contacts/contacts.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_request.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_response.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -17 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/http_server/http_server_factory.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/icu_data/icu_data.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/input/input.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/keyboard/keyboard.mojom.dart View 1 2 3 4 5 6 7 8 21 chunks +0 lines, -43 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/asset_bundle/asset_bundle.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/camera.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/clipboard.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/cookie_store.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/device_info.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/directory.mojom.dart View 1 2 3 4 5 6 7 8 15 chunks +0 lines, -31 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/file.mojom.dart View 1 2 3 4 5 6 7 8 29 chunks +0 lines, -59 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/files.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/ioctl_terminal.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/files/types.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -15 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geocoder.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +0 lines, -25 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -15 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/compositor.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/hit_tests.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/nodes.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/renderers.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/resources.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scene_token.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scenes.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/gfx/composition/scheduling.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/host_resolver.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_connection.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_message.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_event_constants.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_events.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/input_key_codes.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/location_service.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/audio_server.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/audio_track.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -17 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_clock.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_common.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_factory.mojom.dart View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_metadata.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_pipe.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_player.mojom.dart View 1 2 3 4 5 6 7 8 5 chunks +0 lines, -13 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_sink.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +0 lines, -23 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_source.mojom.dart View 1 2 3 4 5 6 7 8 17 chunks +0 lines, -35 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_state.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_transport.mojom.dart View 1 2 3 4 5 6 7 8 16 chunks +0 lines, -35 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/media_types.mojom.dart View 1 2 3 4 5 6 7 8 19 chunks +0 lines, -39 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/media/rate_control.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +0 lines, -23 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/native_viewport_event_dispatcher.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/net_address.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/network_service.mojom.dart View 1 2 3 4 5 6 7 8 13 chunks +0 lines, -27 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart View 1 2 3 4 5 6 7 8 18 chunks +0 lines, -37 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/service_registry.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surface_id.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/surfaces.mojom.dart View 1 2 3 4 5 6 7 8 15 chunks +0 lines, -33 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_bound_socket.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_connected_socket.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/tcp_server_socket.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/terminal/terminal_client.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/udp_socket.mojom.dart View 1 2 3 4 5 6 7 8 18 chunks +0 lines, -37 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/input_connection.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/input_dispatcher.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -9 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -15 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_provider.mojom.dart View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/view_trees.mojom.dart View 1 2 3 4 5 6 7 8 15 chunks +0 lines, -31 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/ui/views.mojom.dart View 1 2 3 4 5 6 7 8 18 chunks +0 lines, -39 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -17 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_loader_interceptor.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/url_response_disk_cache.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/mojo/web_socket.mojom.dart View 1 2 3 4 5 6 7 8 11 chunks +0 lines, -25 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/native_support/process.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/nfc/nfc.mojom.dart View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -21 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/notifications/notifications.mojom.dart View 1 2 3 4 5 6 7 8 8 chunks +0 lines, -19 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/prediction/prediction.mojom.dart View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -11 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/sensors/sensors.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -15 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/speech_recognizer/speech_recognizer.mojom.dart View 1 2 3 4 5 6 7 8 6 chunks +0 lines, -15 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/tracing/tracing.mojom.dart View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -17 lines 0 comments Download
M mojo/dart/packages/mojo_services/lib/vsync/vsync.mojom.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -7 lines 0 comments Download
M mojo/dart/unittests/embedder_tests/bindings_generation_test.dart View 1 2 3 4 5 6 7 8 8 chunks +32 lines, -17 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/enum_definition.tmpl View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -7 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module.lib.tmpl View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/module_definition.tmpl View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -32 lines 0 comments Download
D mojo/public/tools/bindings/generators/dart_templates/mojom_reference_macros.tmpl View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -31 lines 0 comments Download
D mojo/public/tools/bindings/generators/dart_templates/mojom_type_macros.tmpl View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -182 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/struct_definition.tmpl View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/generators/dart_templates/union_definition.tmpl View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_dart_generator.py View 1 2 3 4 5 6 7 8 5 chunks +24 lines, -31 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -35 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
rudominer
Hi Zach, Alex and Alex, ptal. Note that the changes to the non-test .mojom.dart files ...
4 years, 9 months ago (2016-03-02 01:10:30 UTC) #7
alexfandrianto
lgtm (These changes mirror the Go ones, so no surprise there.) https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart File mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart (left): ...
4 years, 9 months ago (2016-03-02 05:27:12 UTC) #8
zra
https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart File mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart (right): https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart#newcode1324 mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart:1324: return runtimeTypeInfo__; Change to '_runtimeTypeInfo' https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart#newcode1332 mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart:1332: _initRuntimeTypeInfo() { ...
4 years, 9 months ago (2016-03-02 17:15:35 UTC) #10
rudominer
On 2016/03/02 17:15:35, zra wrote: > https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart > File > mojo/dart/packages/_mojo_for_test_only/lib/dart_to_cpp/dart_to_cpp.mojom.dart > (right): > > ...
4 years, 9 months ago (2016-03-02 18:22:39 UTC) #11
zra
On 2016/03/02 18:22:39, rudominer wrote: > So are you comfortable with leaving it as is ...
4 years, 9 months ago (2016-03-02 18:28:19 UTC) #12
azani
lgtm
4 years, 9 months ago (2016-03-02 22:30:53 UTC) #13
rudominer
Zach, AlexF, ptal. https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart File mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart (left): https://codereview.chromium.org/1753013002/diff/10002/mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart#oldcode57 mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart:57: _compare(c, d); On 2016/03/02 05:27:12, alexfandrianto ...
4 years, 9 months ago (2016-03-03 01:09:36 UTC) #20
rudominer
https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart File mojo/dart/apptests/dart_apptests/lib/main.dart (right): https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart#newcode24 mojo/dart/apptests/dart_apptests/lib/main.dart:24: service_describer.tests, One thing to note about this hack: It ...
4 years, 9 months ago (2016-03-03 01:27:51 UTC) #21
alexfandrianto
lgtm https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart File mojo/dart/apptests/dart_apptests/lib/main.dart (right): https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart#newcode24 mojo/dart/apptests/dart_apptests/lib/main.dart:24: service_describer.tests, On 2016/03/03 01:27:51, rudominer wrote: > One ...
4 years, 9 months ago (2016-03-03 02:26:23 UTC) #22
zra
https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart File mojo/dart/apptests/dart_apptests/lib/main.dart (right): https://codereview.chromium.org/1753013002/diff/90001/mojo/dart/apptests/dart_apptests/lib/main.dart#newcode24 mojo/dart/apptests/dart_apptests/lib/main.dart:24: service_describer.tests, On 2016/03/03 01:27:51, rudominer wrote: > One thing ...
4 years, 9 months ago (2016-03-03 16:52:37 UTC) #23
rudominer
zra@ ptal at patchset 3. I have responded to your comments. The race condition in ...
4 years, 9 months ago (2016-03-03 22:46:14 UTC) #24
zra
On 2016/03/03 22:46:14, rudominer wrote: > zra@ ptal at patchset 3. I have responded to ...
4 years, 9 months ago (2016-03-03 23:25:50 UTC) #25
rudominer
Zach, ptal. As you suggested I commented out the 'Quit' test in pingpong_apptests.dart and that ...
4 years, 9 months ago (2016-03-04 02:23:16 UTC) #26
zra
lgtm with nits In the CL description, if you change 'BUG=#xxx' to 'fixes #xxx' github ...
4 years, 9 months ago (2016-03-04 15:56:28 UTC) #27
rudominer
Committed patchset #9 (id:160001) manually as 04e96bfd15364f988b745d76f17b59e214cb9cc6 (presubmit successful).
4 years, 9 months ago (2016-03-04 19:09:06 UTC) #29
rudominer
4 years, 9 months ago (2016-03-04 19:09:18 UTC) #30
Message was sent while issue was closed.
https://codereview.chromium.org/1753013002/diff/120001/mojo/dart/apptests/dar...
File mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart
(right):

https://codereview.chromium.org/1753013002/diff/120001/mojo/dart/apptests/dar...
mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart:29:
print('There was an error $v'));
On 2016/03/04 15:56:28, zra wrote:
> This should probably be a 'fail' instead of 'print' now.

Done.

https://codereview.chromium.org/1753013002/diff/120001/mojo/dart/apptests/dar...
mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart:35: (v)
=> print('There was an error $v'));
On 2016/03/04 15:56:28, zra wrote:
> ditto

Done.

https://codereview.chromium.org/1753013002/diff/120001/mojo/dart/apptests/dar...
mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart:67:
(await serviceDescription.getTypeDefinition(typeKey)).type.
On 2016/03/04 15:56:28, zra wrote:
> You can use serviceDescriptionProxy.responseOrError here, too.

Done.

https://codereview.chromium.org/1753013002/diff/120001/mojo/dart/apptests/dar...
mojo/dart/apptests/dart_apptests/lib/src/service_describer_apptests.dart:74: var
actualDescriptions = (await serviceDescription.
On 2016/03/04 15:56:28, zra wrote:
> ditto

Done.

Powered by Google App Engine
This is Rietveld 408576698