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

Issue 2318793002: Mojo C++ bindings: support disconnect with a reason. (Closed)

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

Description

Mojo C++ bindings: support disconnect with a reason. BUG=634502 Committed: https://crrev.com/24438d2d601245d80c2bf9e40a07e7f3c9a10e16 Cr-Commit-Position: refs/heads/master@{#418277}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+488 lines, -138 lines) Patch
M mojo/public/cpp/bindings/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 1 2 3 7 chunks +17 lines, -12 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 2 3 4 4 chunks +15 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 1 2 3 4 chunks +13 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/binding_set.h View 1 2 3 4 5 chunks +20 lines, -5 lines 0 comments Download
A mojo/public/cpp/bindings/connection_error_callback.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/interface_endpoint_client.h View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 4 4 chunks +15 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 3 4 4 chunks +14 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 1 2 3 4 7 chunks +18 lines, -11 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.cc View 1 2 3 4 4 chunks +16 lines, -19 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_handler.h View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_handler.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_proxy.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_proxy.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 2 3 4 6 chunks +32 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/router.h View 1 2 3 4 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/router.cc View 1 2 3 4 1 chunk +9 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/strong_binding.h View 1 2 3 4 5 4 chunks +16 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/associated_interface_unittest.cc View 1 2 3 4 5 9 chunks +97 lines, -76 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_set_unittest.cc View 1 2 3 4 2 chunks +43 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_unittest.cc View 1 2 3 4 5 2 chunks +41 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 1 2 3 4 5 6 chunks +25 lines, -8 lines 0 comments Download
M mojo/public/interfaces/bindings/interface_control_messages.mojom View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 32 (15 generated)
yzshen1
Hi, Ken. Please take a look. What do you think about the interface exposed by ...
4 years, 3 months ago (2016-09-07 23:54:44 UTC) #6
Ken Rockot(use gerrit already)
I think developers might want to handle pipe closure reasons differently in application logic (e.g. ...
4 years, 3 months ago (2016-09-08 17:11:03 UTC) #7
yzshen1
On 2016/09/08 17:11:03, Ken Rockot wrote: > I think developers might want to handle pipe ...
4 years, 3 months ago (2016-09-08 21:24:43 UTC) #8
Fady Samuel
On 2016/09/08 21:24:43, yzshen1 wrote: > On 2016/09/08 17:11:03, Ken Rockot wrote: > > I ...
4 years, 3 months ago (2016-09-08 21:29:40 UTC) #9
yzshen1
On 2016/09/08 21:29:40, Fady Samuel wrote: > On 2016/09/08 21:24:43, yzshen1 wrote: > > On ...
4 years, 3 months ago (2016-09-08 21:33:46 UTC) #10
Ken Rockot(use gerrit already)
We already have a mechanism for reporting validation errors to the EDK embedder in a ...
4 years, 3 months ago (2016-09-08 21:38:09 UTC) #11
Fady Samuel
Thanks Yuzhu, Ken, Apologies for the confusion! Ignore my comment then! Fady On 2016/09/08 21:38:09, ...
4 years, 3 months ago (2016-09-08 21:40:32 UTC) #12
yzshen1
On 2016/09/08 21:38:09, Ken Rockot wrote: > We already have a mechanism for reporting validation ...
4 years, 3 months ago (2016-09-08 21:51:35 UTC) #13
yzshen1
Hi, Ken. I have updated the CL to have a uint32_t reason code and a ...
4 years, 3 months ago (2016-09-12 20:13:33 UTC) #16
Ken Rockot(use gerrit already)
lgtm
4 years, 3 months ago (2016-09-12 21:02:26 UTC) #17
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/2318793002/80001
4 years, 3 months ago (2016-09-12 22:19:31 UTC) #21
yzshen1
Hi, Daniel. Would you please take a look at the changes to mojom? Thanks!
4 years, 3 months ago (2016-09-12 22:21:17 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/257896)
4 years, 3 months ago (2016-09-12 22:27:37 UTC) #25
dcheng
lgtm
4 years, 3 months ago (2016-09-13 00:59:49 UTC) #26
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/2318793002/100001
4 years, 3 months ago (2016-09-13 15:42:44 UTC) #29
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 3 months ago (2016-09-13 17:04:11 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 17:07:30 UTC) #32
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/24438d2d601245d80c2bf9e40a07e7f3c9a10e16
Cr-Commit-Position: refs/heads/master@{#418277}

Powered by Google App Engine
This is Rietveld 408576698