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

Issue 2932193002: Use OnceCallback for Mojo binding connection error handlers. (Closed)

Created:
3 years, 6 months ago by jameswest
Modified:
3 years, 6 months ago
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/heads/master
Project:
chromium
Visibility:
Public.

Description

Use OnceCallback for Mojo binding connection error handlers. Use RepeatingCallback for BindingSet connection error handlers because the error handlers can be called for each entry in the set. BUG=NONE TEST=mojo_public_bindings_unittests Review-Url: https://codereview.chromium.org/2932193002 Cr-Commit-Position: refs/heads/master@{#478798} Committed: https://chromium.googlesource.com/chromium/src/+/14ae013de771be3f72bc59c407e0d677bbc093d8

Patch Set 1 #

Patch Set 2 : Call Run() on rvalue. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -84 lines) Patch
M mojo/public/cpp/bindings/README.md View 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/binding_set.h View 3 chunks +10 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/connection_error_callback.h View 1 chunk +7 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/connector.h View 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/interface_endpoint_client.h View 3 chunks +6 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_binding.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.cc View 2 chunks +6 lines, -10 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 chunk +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/strong_associated_binding.h View 1 2 chunks +11 lines, -9 lines 0 comments Download
M mojo/public/cpp/bindings/strong_binding.h View 2 chunks +11 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
jameswest
3 years, 6 months ago (2017-06-10 02:07:08 UTC) #3
Ken Rockot(use gerrit already)
LG to me, but please allow yzshen@ to review too. Thanks!
3 years, 6 months ago (2017-06-12 15:18:10 UTC) #5
yzshen1
On 2017/06/12 15:18:10, Ken Rockot(use gerrit already) wrote: > LG to me, but please allow ...
3 years, 6 months ago (2017-06-12 17:19:37 UTC) #6
alokp
lgtm
3 years, 6 months ago (2017-06-12 17:22:14 UTC) #7
jameswest
On 2017/06/12 17:19:37, yzshen1 wrote: > On 2017/06/12 15:18:10, Ken Rockot(use gerrit already) wrote: > ...
3 years, 6 months ago (2017-06-12 19:24:51 UTC) #8
yzshen1
On 2017/06/12 19:24:51, jameswest wrote: > On 2017/06/12 17:19:37, yzshen1 wrote: > > On 2017/06/12 ...
3 years, 6 months ago (2017-06-12 19:37:31 UTC) #9
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/2932193002/20001
3 years, 6 months ago (2017-06-12 20:52:46 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 22:52:15 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/14ae013de771be3f72bc59c407e0...

Powered by Google App Engine
This is Rietveld 408576698