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

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed)

Created:
6 years, 7 months ago by darin (slow to review)
Modified:
6 years, 7 months ago
Reviewers:
DaveMoore, qsr, piman
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, ben+mojo_chromium.org
Visibility:
Public.

Description

Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl Interfaces no longer have explicit Peer attributes. An interface may now optionally have a Client interface, in which case a SetClient method will be auto-generated. InterfacePtr is a proxy to a remote instance of an interface. InterfaceImpl is a base class used when implementing an interface. Both have facilities for binding to a pipe, etc. An InterfacePtr is movable but not copyable and looks a lot like RemotePtr save for how it gets initialized (via the Bind method now). I've added some new top-level functions: MakeProxy - makes it easy to initialize an InterfacePtr in say a member initializer list. BindToPipe - this is how you bind an InterfaceImpl to a pipe. once bound, they cannot be unbound until the object is destroyed or the pipe is closed. BindToProxy - builds on top of BindToPipe, however, it hides the details of the pipe. What you get back is an InterfacePtr. Generated C++ code now passes InterfacePtr instead of InterfaceHandle. As a result, we have far less need for typed subclasses of MessagePipeHandle, so I eliminated them. The code that needs to deal with raw handles generally has to deal with {Scoped}MessagePipeHandle, and adding strong typing to these handles doesn't seem helpful anymore. R=davemoore@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269443

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : now with an explicit client #

Patch Set 4 : snapshot #

Patch Set 5 : snapshot #

Patch Set 6 : snapshot #

Total comments: 1

Patch Set 7 : snapshot #

Patch Set 8 : snapshot #

Patch Set 9 : snapshot #

Patch Set 10 : rebase #

Patch Set 11 : snapshot #

Patch Set 12 : fix tests #

Patch Set 13 : content browser tests #

Patch Set 14 : rebase #

Patch Set 15 : add missing symbol #

Patch Set 16 : rebase #

Total comments: 6

Patch Set 17 : fix dbus_echo #

Patch Set 18 : dbus fixes #

Patch Set 19 : remote_ptr_unittest.cc -> interface_ptr_unittest.cc #

Patch Set 20 : add support for using SyncDispatcher #

Patch Set 21 : fix clang #

Patch Set 22 : cleaned up interface_ptr.h #

Patch Set 23 : simplify #

Patch Set 24 : fix build #

Patch Set 25 : fix memory error #

Patch Set 26 : the new way #

Patch Set 27 : rebase #

Patch Set 28 : the new way #

Patch Set 29 : revised #

Patch Set 30 : Force InterfaceImpl subclasses to implement OnConnectionError #

Total comments: 5

Patch Set 31 : fix build #

Patch Set 32 : update per review feedback #

Patch Set 33 : initialize proxy_ #

Patch Set 34 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1293 lines, -1270 lines) Patch
M chrome/browser/ui/webui/mojo_web_ui_controller.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox.mojom View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/mojo/mojo_application_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +25 lines, -4 lines 0 comments Download
M content/browser/mojo/mojo_application_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +12 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +9 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/webui/web_ui_mojo_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +14 lines, -15 lines 0 comments Download
M content/child/child_thread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +1 line, -1 line 0 comments Download
M content/child/mojo/mojo_application.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -2 lines 0 comments Download
M content/child/mojo/mojo_application.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/web_ui_setup_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +4 lines, -11 lines 0 comments Download
M content/renderer/web_ui_setup_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +3 lines, -11 lines 0 comments Download
M content/test/data/web_ui_test_mojo_bindings.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -3 lines 0 comments Download
M mojo/apps/js/test/js_to_cpp.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +1 line, -2 lines 0 comments Download
M mojo/apps/js/test/js_to_cpp_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 7 chunks +17 lines, -15 lines 0 comments Download
M mojo/aura/window_tree_host_mojo.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +2 lines, -4 lines 0 comments Download
M mojo/aura/window_tree_host_mojo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +4 lines, -2 lines 0 comments Download
M mojo/dbus/dbus_external_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +24 lines, -22 lines 0 comments Download
M mojo/dbus/dbus_external_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +1 line, -6 lines 0 comments Download
M mojo/examples/aura_demo/aura_demo.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +3 lines, -5 lines 0 comments Download
M mojo/examples/compositor_app/compositor_app.cc View 1 2 3 4 5 6 3 chunks +7 lines, -12 lines 0 comments Download
M mojo/examples/dbus_echo/dbus_echo_app.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +7 lines, -9 lines 0 comments Download
M mojo/examples/launcher/launcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 4 chunks +19 lines, -23 lines 0 comments Download
M mojo/examples/launcher/launcher.mojom View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M mojo/examples/pepper_container_app/pepper_container_app.cc View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M mojo/examples/sample_app/gles2_client_impl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M mojo/examples/sample_app/sample_app.cc View 1 2 3 4 5 chunks +10 lines, -11 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 4 chunks +3 lines, -4 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +16 lines, -7 lines 0 comments Download
M mojo/gles2/gles2_context.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M mojo/gles2/gles2_context.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/gles2/gles2_support_impl.cc View 1 2 3 1 chunk +1 line, -1 line 1 comment Download
M mojo/mojo.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/mojo_public.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 4 chunks +8 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/error_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +11 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -92 lines 0 comments Download
A mojo/public/cpp/bindings/interface_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +79 lines, -0 lines 0 comments Download
A mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +116 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/array_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/connector.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +6 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +11 lines, -1 line 0 comments Download
D mojo/public/cpp/bindings/lib/interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -19 lines 0 comments Download
A mojo/public/cpp/bindings/lib/interface_impl_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +72 lines, -0 lines 0 comments Download
A mojo/public/cpp/bindings/lib/interface_ptr_internal.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +108 lines, -0 lines 0 comments Download
A + mojo/public/cpp/bindings/lib/no_interface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/router.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +8 lines, -0 lines 0 comments Download
A mojo/public/cpp/bindings/no_interface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +52 lines, -0 lines 0 comments Download
D mojo/public/cpp/bindings/remote_ptr.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -161 lines 0 comments Download
M mojo/public/cpp/bindings/sync_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +5 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/tests/array_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +0 lines, -26 lines 0 comments Download
M mojo/public/cpp/bindings/tests/handle_passing_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 9 chunks +80 lines, -75 lines 0 comments Download
A + mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 10 chunks +63 lines, -50 lines 0 comments Download
D mojo/public/cpp/bindings/tests/remote_ptr_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -230 lines 0 comments Download
M mojo/public/cpp/bindings/tests/request_response_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 8 chunks +19 lines, -19 lines 0 comments Download
M mojo/public/cpp/bindings/tests/sample_service_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +27 lines, -5 lines 0 comments Download
M mojo/public/cpp/shell/application.h View 1 2 3 4 5 6 3 chunks +6 lines, -2 lines 0 comments Download
M mojo/public/cpp/shell/lib/application.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/shell/lib/service.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M mojo/public/cpp/shell/service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 6 chunks +67 lines, -58 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/math_calculator.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_factory.mojom View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_interfaces.mojom View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/interfaces/bindings/tests/sample_service.mojom View 1 2 3 4 5 6 7 8 9 10 3 chunks +2 lines, -3 lines 0 comments Download
M mojo/public/interfaces/shell/shell.mojom View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 2 2 chunks +14 lines, -7 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +12 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_proxy_declaration.tmpl View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +3 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +4 lines, -5 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 7 chunks +7 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/data.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/data_tests.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/generator.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/parse/translate.py View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M mojo/service_manager/background_service_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/service_manager/background_service_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -6 lines 0 comments Download
M mojo/service_manager/service_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M mojo/service_manager/service_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 3 chunks +4 lines, -5 lines 0 comments Download
M mojo/service_manager/service_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 5 chunks +42 lines, -37 lines 0 comments Download
M mojo/service_manager/service_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 7 chunks +33 lines, -27 lines 0 comments Download
M mojo/service_manager/test.mojom View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M mojo/services/dbus_echo/dbus_echo_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/services/dbus_echo/echo.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/services/gles2/command_buffer.mojom View 1 2 3 3 chunks +1 line, -3 lines 0 comments Download
M mojo/services/gles2/command_buffer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +7 lines, -7 lines 0 comments Download
M mojo/services/gles2/command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +12 lines, -5 lines 0 comments Download
M mojo/services/native_viewport/native_viewport.mojom View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M mojo/services/native_viewport/native_viewport_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 7 chunks +21 lines, -18 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +1 line, -2 lines 0 comments Download
M mojo/services/public/cpp/view_manager/lib/view_manager_synchronizer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +6 lines, -7 lines 0 comments Download
M mojo/services/public/interfaces/view_manager/view_manager.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +1 line, -2 lines 0 comments Download
M mojo/services/view_manager/main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/services/view_manager/root_view_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 2 chunks +4 lines, -6 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 3 chunks +5 lines, -4 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 6 chunks +10 lines, -10 lines 0 comments Download
M mojo/services/view_manager/view_manager_connection_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 4 chunks +7 lines, -13 lines 0 comments Download
M mojo/shell/app_child_process.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 8 chunks +38 lines, -36 lines 0 comments Download
M mojo/shell/app_child_process.mojom View 1 2 3 4 5 1 chunk +3 lines, -5 lines 0 comments Download
M mojo/shell/app_child_process_host.h View 1 2 3 4 5 3 chunks +4 lines, -5 lines 0 comments Download
M mojo/shell/app_child_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +5 lines, -6 lines 0 comments Download
M mojo/shell/context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/dbus_service_loader_linux.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/dbus_service_loader_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 6 chunks +6 lines, -10 lines 0 comments Download
M mojo/shell/dynamic_service_loader.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/dynamic_service_loader.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/shell/dynamic_service_runner.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/external_service.mojom View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/shell/in_process_dynamic_service_runner.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/out_of_process_dynamic_service_runner.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M mojo/shell/out_of_process_dynamic_service_runner.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/shell_test_helper.h View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M mojo/shell/shell_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/shell/view_manager_loader.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +1 line, -1 line 0 comments Download
M mojo/shell/view_manager_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
darin (slow to review)
A few things I've learned: 1) MojoMain needs to take two MessagePipe handles: one for ...
6 years, 7 months ago (2014-05-03 14:58:19 UTC) #1
darin (slow to review)
On 2014/05/03 14:58:19, darin wrote: > A few things I've learned: > > 1) MojoMain ...
6 years, 7 months ago (2014-05-04 17:43:24 UTC) #2
qsr
https://codereview.chromium.org/265793015/diff/100001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl File mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl (right): https://codereview.chromium.org/265793015/diff/100001/mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl#newcode30 mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl:30: virtual void SetClient(mojo::NoInterface* client) {} I might be missing ...
6 years, 7 months ago (2014-05-05 08:33:38 UTC) #3
darin (slow to review)
On 2014/05/05 08:33:38, qsr wrote: ... > mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl:30: > virtual void SetClient(mojo::NoInterface* client) {} > ...
6 years, 7 months ago (2014-05-05 15:06:11 UTC) #4
qsr
On 2014/05/05 15:06:11, darin wrote: > On 2014/05/05 08:33:38, qsr wrote: > ... > > ...
6 years, 7 months ago (2014-05-05 15:18:28 UTC) #5
darin (slow to review)
Yup. We can remove it. I may do that as a followup CL though. On ...
6 years, 7 months ago (2014-05-05 15:33:00 UTC) #6
DaveMoore
https://codereview.chromium.org/265793015/diff/270001/mojo/public/cpp/bindings/interface_ptr.h File mojo/public/cpp/bindings/interface_ptr.h (right): https://codereview.chromium.org/265793015/diff/270001/mojo/public/cpp/bindings/interface_ptr.h#newcode184 mojo/public/cpp/bindings/interface_ptr.h:184: // Maybe there should be a variant of this ...
6 years, 7 months ago (2014-05-06 21:30:53 UTC) #7
darin (slow to review)
https://codereview.chromium.org/265793015/diff/270001/mojo/public/cpp/bindings/interface_ptr.h File mojo/public/cpp/bindings/interface_ptr.h (right): https://codereview.chromium.org/265793015/diff/270001/mojo/public/cpp/bindings/interface_ptr.h#newcode184 mojo/public/cpp/bindings/interface_ptr.h:184: // On 2014/05/06 21:30:54, DaveMoore wrote: > Maybe there ...
6 years, 7 months ago (2014-05-06 21:39:10 UTC) #8
darin (slow to review)
OK, the CL is fairly solid now. Apologies, I probably let a couple gratuitous changes ...
6 years, 7 months ago (2014-05-08 08:01:33 UTC) #9
DaveMoore
There seems to be a lot of cases where we define trivial SetClient() implementations, as ...
6 years, 7 months ago (2014-05-08 18:27:29 UTC) #10
darin (slow to review)
On 2014/05/08 18:27:29, DaveMoore wrote: > There seems to be a lot of cases where ...
6 years, 7 months ago (2014-05-08 19:34:15 UTC) #11
darin (slow to review)
> https://codereview.chromium.org/265793015/diff/530001/mojo/public/cpp/shell/service.h#oldcode180 > > mojo/public/cpp/shell/service.h:180: RemotePtr<typename > ServiceInterface::_Peer> > > client_; > > Could we ...
6 years, 7 months ago (2014-05-08 19:53:35 UTC) #12
DaveMoore
lgtm
6 years, 7 months ago (2014-05-08 19:59:35 UTC) #13
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-08 22:01:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/265793015/570001
6 years, 7 months ago (2014-05-08 22:08:29 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 04:11:42 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 04:33:53 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/14103)
6 years, 7 months ago (2014-05-09 04:33:54 UTC) #18
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-09 05:17:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/265793015/570001
6 years, 7 months ago (2014-05-09 05:23:36 UTC) #20
darin (slow to review)
The CQ bit was unchecked by darin@chromium.org
6 years, 7 months ago (2014-05-09 05:34:28 UTC) #21
darin (slow to review)
The CQ bit was checked by darin@chromium.org
6 years, 7 months ago (2014-05-09 05:39:46 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/darin@chromium.org/265793015/590001
6 years, 7 months ago (2014-05-09 05:42:52 UTC) #23
darin (slow to review)
Committed patchset #34 manually as r269443 (presubmit successful).
6 years, 7 months ago (2014-05-09 22:36:02 UTC) #24
piman
https://codereview.chromium.org/265793015/diff/610001/mojo/gles2/gles2_support_impl.cc File mojo/gles2/gles2_support_impl.cc (right): https://codereview.chromium.org/265793015/diff/610001/mojo/gles2/gles2_support_impl.cc#newcode66 mojo/gles2/gles2_support_impl.cc:66: ScopedMessagePipeHandle scoped_handle(handle); drive-by: We couldn't keep the type safety?
6 years, 7 months ago (2014-05-09 23:02:57 UTC) #25
darin (slow to review)
6 years, 7 months ago (2014-05-09 23:05:54 UTC) #26
It is not needed if we are successful at burying the pipes.

For sync calls in particular, I plan to add machinery so you won't have to
deal with raw pipes.

-Darin


On Fri, May 9, 2014 at 4:02 PM, <piman@chromium.org> wrote:

>
> https://codereview.chromium.org/265793015/diff/610001/
> mojo/gles2/gles2_support_impl.cc
> File mojo/gles2/gles2_support_impl.cc (right):
>
> https://codereview.chromium.org/265793015/diff/610001/
> mojo/gles2/gles2_support_impl.cc#newcode66
> mojo/gles2/gles2_support_impl.cc:66: ScopedMessagePipeHandle
> scoped_handle(handle);
> drive-by: We couldn't keep the type safety?
>
> https://codereview.chromium.org/265793015/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698