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

Issue 1524693002: [mojo] Add GenericInterface_ to interface class variants (Closed)

Created:
5 years ago by Ken Rockot(use gerrit already)
Modified:
5 years 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@bindings-2-typemaps
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mojo] Add GenericInterface_ to interface class variants This is used to identify pure non-variant interface definitions for uses relevant to InterfaceRequest. e.g. one could do variant1::FooPtr foo; GetProxy(&foo) and GetProxy will return an InterfaceRequest<generic::Foo>. Part of a series of changes to support custom mojom serialization: 1. https://codereview.chromium.org/1515423002 2. https://codereview.chromium.org/1517043004 3. This CL 4. https://codereview.chromium.org/1520153002 5. https://codereview.chromium.org/1524613002 6. https://codereview.chromium.org/1526533002 7. https://codereview.chromium.org/1524703002 BUG=569669 TBR=sky@chromium.org for mojo/common TBR=piman@chromium.org for content/gpu Committed: https://crrev.com/54b524949599a2045114039133eb25b304e20359 Cr-Commit-Position: refs/heads/master@{#365708}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : address comments #

Total comments: 3

Patch Set 4 : Address moar comments #

Total comments: 1

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : merge #

Patch Set 10 : merge #

Patch Set 11 : update WeakBindingSet use #

Patch Set 12 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -40 lines) Patch
M content/gpu/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M mojo/common/weak_binding_set.h View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 1 2 6 chunks +8 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 2 3 4 5 4 chunks +7 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 1 2 4 chunks +5 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/interface_request.h View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 2 3 4 chunks +10 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 2 6 chunks +12 lines, -6 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/interface_declaration.tmpl View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/cpp_templates/module.h.tmpl View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_cpp_generator.py View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (13 generated)
Ken Rockot(use gerrit already)
5 years ago (2015-12-14 18:41:19 UTC) #4
yzshen1
https://codereview.chromium.org/1524693002/diff/20001/mojo/public/cpp/bindings/binding.h File mojo/public/cpp/bindings/binding.h (right): https://codereview.chromium.org/1524693002/diff/20001/mojo/public/cpp/bindings/binding.h#newcode137 mojo/public/cpp/bindings/binding.h:137: InterfaceRequest<GenericInterface_> request, InterfacePtr<>, AssociatedBinding<> and AssociatedInterfacePtr need the same ...
5 years ago (2015-12-14 20:25:38 UTC) #7
Ken Rockot(use gerrit already)
On 2015/12/14 at 20:25:38, yzshen wrote: > https://codereview.chromium.org/1524693002/diff/20001/mojo/public/cpp/bindings/binding.h > File mojo/public/cpp/bindings/binding.h (right): > > https://codereview.chromium.org/1524693002/diff/20001/mojo/public/cpp/bindings/binding.h#newcode137 ...
5 years ago (2015-12-14 21:01:16 UTC) #8
yzshen1
https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/associated_interface_ptr.h File mojo/public/cpp/bindings/associated_interface_ptr.h (right): https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/associated_interface_ptr.h#newcode178 mojo/public/cpp/bindings/associated_interface_ptr.h:178: AssociatedInterfaceRequest<Interface> GetProxy( GenericInterface? https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/binding.h File mojo/public/cpp/bindings/binding.h (right): https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/binding.h#newcode193 mojo/public/cpp/bindings/binding.h:193: ...
5 years ago (2015-12-14 21:18:54 UTC) #10
Ken Rockot(use gerrit already)
On 2015/12/14 at 21:18:54, yzshen wrote: > https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/associated_interface_ptr.h > File mojo/public/cpp/bindings/associated_interface_ptr.h (right): > > https://codereview.chromium.org/1524693002/diff/40001/mojo/public/cpp/bindings/associated_interface_ptr.h#newcode178 ...
5 years ago (2015-12-14 23:20:29 UTC) #11
yzshen1
https://codereview.chromium.org/1524693002/diff/60001/mojo/public/cpp/bindings/associated_group.h File mojo/public/cpp/bindings/associated_group.h (right): https://codereview.chromium.org/1524693002/diff/60001/mojo/public/cpp/bindings/associated_group.h#newcode49 mojo/public/cpp/bindings/associated_group.h:49: AssociatedInterfacePtrInfo<T>* ptr_info, ptr_info should use the same type as ...
5 years ago (2015-12-14 23:58:26 UTC) #12
Ken Rockot(use gerrit already)
On 2015/12/14 at 23:58:26, yzshen wrote: > https://codereview.chromium.org/1524693002/diff/60001/mojo/public/cpp/bindings/associated_group.h > File mojo/public/cpp/bindings/associated_group.h (right): > > https://codereview.chromium.org/1524693002/diff/60001/mojo/public/cpp/bindings/associated_group.h#newcode49 ...
5 years ago (2015-12-15 00:06:35 UTC) #13
yzshen1
lgtm
5 years ago (2015-12-15 00:10:10 UTC) #14
commit-bot: I haz the power
This CL has an open dependency (Issue 1517043004 Patch 250001). Please resolve the dependency and ...
5 years ago (2015-12-16 21:57:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1524693002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1524693002/220001
5 years ago (2015-12-16 23:50:38 UTC) #22
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years ago (2015-12-17 03:22:10 UTC) #23
commit-bot: I haz the power
5 years ago (2015-12-17 03:24:14 UTC) #25
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/54b524949599a2045114039133eb25b304e20359
Cr-Commit-Position: refs/heads/master@{#365708}

Powered by Google App Engine
This is Rietveld 408576698