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

Issue 1473273003: Mojo C++ bindings: InterfacePtr<T> and Binding<T> use MultiplexRouter when T passes associated inte… (Closed)

Created:
5 years ago by yzshen1
Modified:
5 years ago
Reviewers:
sky
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_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: InterfacePtr<T> and Binding<T> use MultiplexRouter when T passes associated interface pointers/requests. BUG=546067 Committed: https://crrev.com/0b5628a30a249184528900b0d3f3eb81a83f8c39 Cr-Commit-Position: refs/heads/master@{#361590}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+675 lines, -393 lines) Patch
M components/html_viewer/global_state.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mandoline/services/core_services/core_services_application_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/application/public/cpp/lib/application_test_main.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/js/tests/js_to_cpp_tests.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/logging/init_logging.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/logging/init_logging.cc View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/BUILD.gn View 2 chunks +3 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 chunk +2 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 1 2 3 5 chunks +35 lines, -56 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 5 chunks +26 lines, -9 lines 0 comments Download
D mojo/public/cpp/bindings/lib/associated_interface_ptr_internal.h View 1 chunk +0 lines, -132 lines 0 comments Download
A + mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A mojo/public/cpp/bindings/lib/binding_state.h View 1 2 3 4 1 chunk +206 lines, -0 lines 0 comments Download
D mojo/public/cpp/bindings/lib/interface_ptr_internal.h View 1 chunk +0 lines, -174 lines 0 comments Download
A mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 2 3 4 1 chunk +347 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/cpp/bindings/tests/validation_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/tools/bindings/pylib/mojom/generate/module.py View 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/mojo/mojo_public.gyp View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/mojo/src/mojo/edk/js/tests/js_to_cpp_tests.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (2 generated)
yzshen1
Hi, Scott. Would you please take a look? Thanks!
5 years ago (2015-11-24 18:34:54 UTC) #2
sky
https://codereview.chromium.org/1473273003/diff/40001/mojo/public/cpp/bindings/lib/binding_state.h File mojo/public/cpp/bindings/lib/binding_state.h (right): https://codereview.chromium.org/1473273003/diff/40001/mojo/public/cpp/bindings/lib/binding_state.h#newcode30 mojo/public/cpp/bindings/lib/binding_state.h:30: template <typename Interface, bool kUsesMultiplexRouter> kUsesMultiplexRouter isn't a constant. ...
5 years ago (2015-11-24 22:20:46 UTC) #3
yzshen1
Thanks, Scott! Please take another look. https://codereview.chromium.org/1473273003/diff/40001/mojo/public/cpp/bindings/lib/binding_state.h File mojo/public/cpp/bindings/lib/binding_state.h (right): https://codereview.chromium.org/1473273003/diff/40001/mojo/public/cpp/bindings/lib/binding_state.h#newcode30 mojo/public/cpp/bindings/lib/binding_state.h:30: template <typename Interface, ...
5 years ago (2015-11-25 00:26:36 UTC) #4
sky
LGTM
5 years ago (2015-11-25 00:52:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473273003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473273003/80001
5 years ago (2015-11-25 05:09:49 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-25 05:58:18 UTC) #8
commit-bot: I haz the power
5 years ago (2015-11-25 05:59:20 UTC) #9
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0b5628a30a249184528900b0d3f3eb81a83f8c39
Cr-Commit-Position: refs/heads/master@{#361590}

Powered by Google App Engine
This is Rietveld 408576698