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

Issue 2257693003: Handle early ServiceRequest errors in shell::ServiceContext (Closed)

Created:
4 years, 4 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle early ServiceRequest errors in shell::ServiceContext Sets an error handler immediately when binding ServiceContext's ServiceRequest. This means Service::OnStop() may be invoked without first receiving Service::OnStart(). Docs updated accordingly, and MojoShellConnectionImpl changed to destroy its ConnectionFilter instances in OnStop(). This eliminates a race condition where a child process might not detect an IPC Channel error in case of early browser process exit. BUG=623396 Committed: https://crrev.com/bd8ac0b42ea508a8768d3453431dbfbbe5c4dab0 Cr-Commit-Position: refs/heads/master@{#413002}

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M content/common/mojo/mojo_shell_connection_impl.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M services/shell/public/cpp/lib/service_context.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M services/shell/public/cpp/service.h View 2 chunks +4 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (10 generated)
Ken Rockot(use gerrit already)
4 years, 4 months ago (2016-08-18 21:11:27 UTC) #4
Ben Goodger (Google)
lgtm
4 years, 4 months ago (2016-08-18 21:27:04 UTC) #5
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/2257693003/1
4 years, 4 months ago (2016-08-18 21:47:19 UTC) #8
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/2257693003/20001
4 years, 4 months ago (2016-08-18 23:28:35 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-19 01:27:21 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 01:32:17 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bd8ac0b42ea508a8768d3453431dbfbbe5c4dab0
Cr-Commit-Position: refs/heads/master@{#413002}

Powered by Google App Engine
This is Rietveld 408576698