|
|
Created:
5 years, 7 months ago by xhwang Modified:
5 years, 7 months ago CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin-cc_chromium.org, darin (slow to review), ben+mojo_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd connection error handing in ServiceRegistryImpl.
This will be useful when hosting mojo services in the utility process where the process can go away after being idle for a certain period of time. When that happens, the ServiceRegistryImpl will not be bound and needs to be reconnected before it can be used again. For background, please see http://goo.gl/sMpZ0g.
BUG=479935
TEST=Tested by manually killing the process hosting the other side of the ServiceRegistryImpl.
Committed: https://crrev.com/a3140a9f83f0aa1c2ee4b7bf1a5b9dd8f127496d
Cr-Commit-Position: refs/heads/master@{#330946}
Patch Set 1 #
Total comments: 2
Patch Set 2 : comments addressed #Patch Set 3 : rebase only #
Messages
Total messages: 33 (13 generated)
xhwang@chromium.org changed reviewers: + rockot@chromium.org
PTAL
LGTM. FYI I'm trying to figure out what it would look like to embed a Mojo shell in the browser and let arbitrary Mojo apps be hooked up to it. This would obviate the need for a ServiceRegistry in the utility process altogether. WIP CL: https://codereview.chromium.org/1128453004/ https://codereview.chromium.org/1128493002/diff/1/content/common/mojo/service... File content/common/mojo/service_registry_impl.cc (right): https://codereview.chromium.org/1128493002/diff/1/content/common/mojo/service... content/common/mojo/service_registry_impl.cc:24: binding_.set_error_handler(this); nit: might as well just do this in the ctor
> FYI I'm trying to figure out what it would look like to embed a Mojo shell in > the browser and let arbitrary Mojo apps be hooked up to it. This would obviate > the need for a ServiceRegistry in the utility process altogether. WIP CL: > https://codereview.chromium.org/1128453004/ Thanks for the heads-up. By "arbitrary Mojo apps", do you mean something like media.mojo that we use with html_viewer? Is there a doc about this change?
comments addressed
xhwang@chromium.org changed reviewers: + jam@chromium.org
jam: Please OWNERS review. https://codereview.chromium.org/1128493002/diff/1/content/common/mojo/service... File content/common/mojo/service_registry_impl.cc (right): https://codereview.chromium.org/1128493002/diff/1/content/common/mojo/service... content/common/mojo/service_registry_impl.cc:24: binding_.set_error_handler(this); On 2015/05/05 17:59:23, Ken Rockot wrote: > nit: might as well just do this in the ctor Done.
lgtm, sorry for the delay
The CQ bit was checked by xhwang@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rockot@chromium.org Link to the patchset: https://codereview.chromium.org/1128493002/#ps20001 (title: "comments addressed")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128493002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by xhwang@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128493002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by xhwang@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128493002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2015/05/08 19:46:30, I haz the power (commit-bot) wrote: > Try jobs failed on following builders: > linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) Looks like you're running into an IPC bug that went undetected for a while. Fix is here waiting for review: https://codereview.chromium.org/1130413002/
On 2015/05/08 19:50:59, Ken Rockot wrote: > On 2015/05/08 19:46:30, I haz the power (commit-bot) wrote: > > Try jobs failed on following builders: > > linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, > > > http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) > > Looks like you're running into an IPC bug that went undetected for a while. > > Fix is here waiting for review: https://codereview.chromium.org/1130413002/ Cool. Thanks for digging into this!
The CQ bit was checked by xhwang@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128493002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
rebase only
The CQ bit was checked by xhwang@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rockot@chromium.org, jam@chromium.org Link to the patchset: https://codereview.chromium.org/1128493002/#ps40001 (title: "rebase only")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128493002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/a3140a9f83f0aa1c2ee4b7bf1a5b9dd8f127496d Cr-Commit-Position: refs/heads/master@{#330946} |