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

Issue 2309513002: Mojo C++ Bindings: Additional support for associated binding sets (Closed)

Created:
4 years, 3 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 3 months ago
Reviewers:
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: Additional support for associated binding sets Implements three orthogonal changes to the public bindings API: 1. Adds the ability to remove bindings from a binding set. Uses a new mojo::BindingId integer alias to identify added bindings. 2. Adds the ability to set a pre-dispatch hook on binding sets. In some cases simply making the dispatch_context() available is insufficient, for example when a consumer owns multiple binding sets and wants a common path for establishing context among any of them. 3. Adds mojo::GetDummyProxy, a helper that can bind an AssociatedInterfacePtr<T> so that it has some valid internal state and silently drops all outgoing messages. Unlike regular message pipe interfaces, without this feature associated interfaces are difficult to stub out in test environments. Part a series of CLs to enable and demonstrate WebContents associated interfaces: 1. https://codereview.chromium.org/2301123004 2. This CL 3. https://codereview.chromium.org/2310563002 4. https://codereview.chromium.org/2310583002 BUG=612500 R=yzshen@chromium.org Committed: https://crrev.com/4b8bca190cdc55bae81974aa09cc10f422f022fb Cr-Commit-Position: refs/heads/master@{#417126}

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -12 lines) Patch
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/binding_set.h View 6 chunks +51 lines, -12 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
Ken Rockot(use gerrit already)
Please take a look. Just some miscellaneous support that made sense to me. WDYT?
4 years, 3 months ago (2016-09-02 20:09:06 UTC) #2
yzshen1
On 2016/09/02 20:09:06, Ken Rockot wrote: > Please take a look. Just some miscellaneous support ...
4 years, 3 months ago (2016-09-02 22:28:57 UTC) #3
Ken Rockot(use gerrit already)
On 2016/09/02 at 22:28:57, yzshen wrote: > On 2016/09/02 20:09:06, Ken Rockot wrote: > > ...
4 years, 3 months ago (2016-09-06 17:39:06 UTC) #6
Ken Rockot(use gerrit already)
Gentle ping!
4 years, 3 months ago (2016-09-07 22:27:00 UTC) #9
yzshen1
On 2016/09/07 22:27:00, Ken Rockot wrote: > Gentle ping! Sorry, I thought I had replied ...
4 years, 3 months ago (2016-09-07 22:32:59 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/2309513002/20001
4 years, 3 months ago (2016-09-07 22:42:59 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-08 00:14:53 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/4b8bca190cdc55bae81974aa09cc10f422f022fb Cr-Commit-Position: refs/heads/master@{#417126}
4 years, 3 months ago (2016-09-08 00:16:59 UTC) #15
lushnikov
4 years, 3 months ago (2016-09-08 01:01:36 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2324623003/ by lushnikov@chromium.org.

The reason for reverting is: This broke compilation on Win x64 builder:

https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Win%20x64%20Bu...

.

Powered by Google App Engine
This is Rietveld 408576698