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

Issue 2403533003: Mojo C++ Bindings: Support custom impl ref types (Closed)

Created:
4 years, 2 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 2 months ago
Reviewers:
Sam McNally, yzshen1
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo C++ Bindings: Support custom impl ref types Allows binding primitives to use custom reference types for their interface implementation. BUG=654218 Committed: https://crrev.com/8e2a5d2996da6336f3c817eda73da12c7a3c7d84 Cr-Commit-Position: refs/heads/master@{#424118}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : nit, move #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -79 lines) Patch
M mojo/public/cpp/bindings/associated_binding.h View 1 2 4 chunks +12 lines, -12 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 1 2 4 chunks +13 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 2 4 chunks +19 lines, -15 lines 0 comments Download
A mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h View 1 chunk +22 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_unittest.cc View 1 2 6 chunks +47 lines, -8 lines 0 comments Download
M mojo/public/cpp/bindings/tests/sample_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 2 chunks +5 lines, -1 line 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl View 4 chunks +24 lines, -24 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl View 1 2 1 chunk +40 lines, -9 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
Ken Rockot(use gerrit already)
PTAL. +yzshen optional since OOO :)
4 years, 2 months ago (2016-10-08 17:44:29 UTC) #12
yzshen1
LGTM https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/tests/binding_unittest.cc File mojo/public/cpp/bindings/tests/binding_unittest.cc (right): https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/tests/binding_unittest.cc#newcode363 mojo/public/cpp/bindings/tests/binding_unittest.cc:363: mojo::Binding<test::PingService> binding_(&impl, GetProxy(&ptr)); nit: it seems unusual to ...
4 years, 2 months ago (2016-10-09 22:20:01 UTC) #17
Sam McNally
lgtm https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/associated_binding.h File mojo/public/cpp/bindings/associated_binding.h (right): https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/associated_binding.h#newcode52 mojo/public/cpp/bindings/associated_binding.h:52: explicit AssociatedBinding(ImplPointerType impl) { stub_.set_sink(impl); } Pass by ...
4 years, 2 months ago (2016-10-09 22:57:56 UTC) #18
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/associated_binding.h File mojo/public/cpp/bindings/associated_binding.h (right): https://codereview.chromium.org/2403533003/diff/60001/mojo/public/cpp/bindings/associated_binding.h#newcode52 mojo/public/cpp/bindings/associated_binding.h:52: explicit AssociatedBinding(ImplPointerType impl) { stub_.set_sink(impl); } On 2016/10/09 at ...
4 years, 2 months ago (2016-10-10 05:38:39 UTC) #21
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/2403533003/80001
4 years, 2 months ago (2016-10-10 06:28:15 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 2 months ago (2016-10-10 06:39:03 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 06:41:47 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8e2a5d2996da6336f3c817eda73da12c7a3c7d84
Cr-Commit-Position: refs/heads/master@{#424118}

Powered by Google App Engine
This is Rietveld 408576698