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

Issue 1991463002: Mojo: Expose untyped associated endpoints through public API (Closed)

Created:
4 years, 7 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 7 months ago
Reviewers:
yzshen1
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo: Expose untyped associated endpoints through public API This CL exposes ScopedInterfaceEndpointHandle through AssociatedInterfaceRequest and AssociatedInterfacePtrInfo to allow for unbinding and rebinding associated endpoints to arbitrary interface types. BUG=612500 R=yzshen@chromium.org Committed: https://crrev.com/f4698a23e30ce832bf2c728d2444f72019ddf1a1 Cr-Commit-Position: refs/heads/master@{#394306}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -233 lines) Patch
M mojo/mojo_public.gyp View 3 chunks +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 3 chunks +3 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group.h View 4 chunks +11 lines, -13 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 chunk +1 line, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr_info.h View 3 chunks +14 lines, -35 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_request.h View 2 chunks +19 lines, -32 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_group.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 3 chunks +3 lines, -7 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.h View 1 chunk +1 line, -1 line 0 comments Download
D mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.h View 1 chunk +0 lines, -63 lines 0 comments Download
M mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.cc View 3 chunks +12 lines, -13 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_util.h View 2 chunks +2 lines, -4 lines 0 comments Download
A + mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h View 1 4 chunks +26 lines, -19 lines 0 comments Download
M mojo/public/cpp/bindings/tests/associated_interface_unittest.cc View 2 chunks +7 lines, -22 lines 0 comments Download
M mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_data_view_definition.tmpl View 1 chunk +2 lines, -4 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/struct_macros.tmpl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
Ken Rockot(use gerrit already)
Please take a look. I decided to make AssociatedInterfacePtr and AssociatedInterfaceRequest look similar to their ...
4 years, 7 months ago (2016-05-17 20:36:18 UTC) #1
yzshen1
On 2016/05/17 20:36:18, Ken Rockot wrote: > Please take a look. I decided to make ...
4 years, 7 months ago (2016-05-17 21:37:19 UTC) #2
Ken Rockot(use gerrit already)
On 2016/05/17 at 21:37:19, yzshen wrote: > On 2016/05/17 20:36:18, Ken Rockot wrote: > > ...
4 years, 7 months ago (2016-05-17 21:44:41 UTC) #3
yzshen1
Okay. LGTM with one nit. https://codereview.chromium.org/1991463002/diff/1/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h File mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h (right): https://codereview.chromium.org/1991463002/diff/1/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h#newcode32 mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h:32: ScopedInterfaceEndpointHandle( Does it make ...
4 years, 7 months ago (2016-05-17 21:50:48 UTC) #4
Ken Rockot(use gerrit already)
Thanks! https://codereview.chromium.org/1991463002/diff/1/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h File mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h (right): https://codereview.chromium.org/1991463002/diff/1/mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h#newcode32 mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h:32: ScopedInterfaceEndpointHandle( On 2016/05/17 at 21:50:48, yzshen1 wrote: > ...
4 years, 7 months ago (2016-05-17 22:35:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991463002/20001
4 years, 7 months ago (2016-05-17 22:35:44 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-18 01:16:14 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 01:18:16 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f4698a23e30ce832bf2c728d2444f72019ddf1a1
Cr-Commit-Position: refs/heads/master@{#394306}

Powered by Google App Engine
This is Rietveld 408576698