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

Issue 2100683002: Mojo C++ Bindings: Extract AssociatedGroupController from MultiplexRouter (Closed)

Created:
4 years, 5 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 5 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 C++ Bindings: Extract AssociatedGroupController from MultiplexRouter Defines AssociatedGroupController, an interface for managing endpoint lifetime within an associated group. This was extracted from MultiplexRouter which now implements the interface. This is a precursor to supporting an alternative binding implementation to serve the unique requirements of Mojo IPC::Channel and other interfaces associated with it. BUG=612500 Committed: https://crrev.com/3fe9ca703e3f2e72f8bcc641290935a181e3b022 Cr-Commit-Position: refs/heads/master@{#403230}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : . #

Patch Set 5 : gyp #

Patch Set 6 : oops more gyp ugh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -437 lines) Patch
M mojo/mojo_public.gypi View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 1 4 chunks +6 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
A mojo/public/cpp/bindings/associated_group_controller.h View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
A + mojo/public/cpp/bindings/interface_endpoint_client.h View 1 4 chunks +7 lines, -9 lines 0 comments Download
A + mojo/public/cpp/bindings/interface_endpoint_controller.h View 1 2 chunks +5 lines, -7 lines 0 comments Download
A + mojo/public/cpp/bindings/interface_id.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_group.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
A mojo/public/cpp/bindings/lib/associated_group_controller.cc View 1 1 chunk +32 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/lib/bindings_internal.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/handle_interface_serialization.h View 1 2 4 chunks +7 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.h View 1 1 chunk +0 lines, -157 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.cc View 1 12 chunks +16 lines, -18 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_controller.h View 1 1 chunk +0 lines, -39 lines 0 comments Download
D mojo/public/cpp/bindings/lib/interface_id.h View 1 1 chunk +0 lines, -37 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.h View 1 2 3 5 chunks +14 lines, -42 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.cc View 1 5 chunks +6 lines, -17 lines 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_handler.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_handler_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_proxy.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/scoped_interface_endpoint_handle.cc View 1 2 chunks +23 lines, -22 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_context.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_context.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/serialization_util.h View 1 2 chunks +6 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h View 1 3 chunks +16 lines, -16 lines 0 comments Download
M mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 1 7 chunks +15 lines, -11 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
Ken Rockot(use gerrit already)
WDYT about landing this as is? I'm working on a follow-up CL which moves more ...
4 years, 5 months ago (2016-06-29 22:36:43 UTC) #2
yzshen1
LGTM https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h File mojo/public/cpp/bindings/associated_group_controller.h (right): https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h#newcode49 mojo/public/cpp/bindings/associated_group_controller.h:49: // The returned object is still owned by ...
4 years, 5 months ago (2016-06-30 15:34:42 UTC) #3
Ken Rockot(use gerrit already)
Thanks! https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h File mojo/public/cpp/bindings/associated_group_controller.h (right): https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h#newcode49 mojo/public/cpp/bindings/associated_group_controller.h:49: // The returned object is still owned by ...
4 years, 5 months ago (2016-06-30 15:57:39 UTC) #4
Ken Rockot(use gerrit already)
Thanks! https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h File mojo/public/cpp/bindings/associated_group_controller.h (right): https://codereview.chromium.org/2100683002/diff/40001/mojo/public/cpp/bindings/associated_group_controller.h#newcode49 mojo/public/cpp/bindings/associated_group_controller.h:49: // The returned object is still owned by ...
4 years, 5 months ago (2016-06-30 15:57:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100683002/60001
4 years, 5 months ago (2016-06-30 15:58:00 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/194860)
4 years, 5 months ago (2016-06-30 16:29:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100683002/80001
4 years, 5 months ago (2016-06-30 16:50:19 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/194897)
4 years, 5 months ago (2016-06-30 17:23:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100683002/100001
4 years, 5 months ago (2016-06-30 17:33:07 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/29559)
4 years, 5 months ago (2016-06-30 17:38:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100683002/100001
4 years, 5 months ago (2016-06-30 17:45:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/29570)
4 years, 5 months ago (2016-06-30 17:50:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2100683002/100001
4 years, 5 months ago (2016-06-30 18:16:04 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-06-30 18:36:28 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-30 18:36:42 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-06-30 18:38:08 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3fe9ca703e3f2e72f8bcc641290935a181e3b022
Cr-Commit-Position: refs/heads/master@{#403230}

Powered by Google App Engine
This is Rietveld 408576698