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

Issue 303733002: Reparent SWProcessManager onto SWContextWrapper. (Closed)

Created:
6 years, 6 months ago by Jeffrey Yasskin
Modified:
6 years, 6 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

Reparent SWProcessManager onto SWContextWrapper. This will allow Wrapper::Shutdown to drop all process references synchronously in a future change, which will make it possible to shutdown Chrome with service workers running and without hitting the DCHECK in ProfileDestroyer::DestroyProfileWhenAppropriate(). This relands http://crrev.com/272839 (reverted by http://crrev.com/272858), and fixes the breakage in ServiceWorkerDispatcherHostTest.EarlyContextDeletion. The breakage happened because I changed ContextWrapper::Shutdown to always PostTask instead of running inline when CurrentlyOn(BrowserThread::IO). I haven't uncovered why the breakage only happened on slow bots. BUG=368570 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273184

Patch Set 1 #

Patch Set 2 : Make sure the ContextCore is destroyed before checking that messages fail #

Messages

Total messages: 13 (0 generated)
Jeffrey Yasskin
PTAL.
6 years, 6 months ago (2014-05-27 23:33:25 UTC) #1
dominicc (has gone to gerrit)
On 2014/05/27 23:33:25, Jeffrey Yasskin wrote: > PTAL. Informally LGTM. Is reaching into the context_core_ ...
6 years, 6 months ago (2014-05-27 23:57:11 UTC) #2
Jeffrey Yasskin
On 2014/05/27 23:57:11, dominicc wrote: > On 2014/05/27 23:33:25, Jeffrey Yasskin wrote: > > PTAL. ...
6 years, 6 months ago (2014-05-28 00:13:02 UTC) #3
kinuko
(+horo, I think he can / may want to also review this)
6 years, 6 months ago (2014-05-28 00:20:42 UTC) #4
dominicc (has gone to gerrit)
On 2014/05/28 00:13:02, Jeffrey Yasskin wrote: > On 2014/05/27 23:57:11, dominicc wrote: > > On ...
6 years, 6 months ago (2014-05-28 01:19:00 UTC) #5
horo
On 2014/05/28 00:13:02, Jeffrey Yasskin wrote: > On 2014/05/27 23:57:11, dominicc wrote: > > On ...
6 years, 6 months ago (2014-05-28 01:45:02 UTC) #6
horo
On 2014/05/28 01:45:02, horo wrote: > On 2014/05/28 00:13:02, Jeffrey Yasskin wrote: > > On ...
6 years, 6 months ago (2014-05-28 01:51:17 UTC) #7
Jeffrey Yasskin
On 2014/05/28 01:51:17, horo wrote: > On 2014/05/28 01:45:02, horo wrote: > > On 2014/05/28 ...
6 years, 6 months ago (2014-05-28 01:58:17 UTC) #8
falken
On 2014/05/28 01:58:17, Jeffrey Yasskin wrote: > On 2014/05/28 01:51:17, horo wrote: > > On ...
6 years, 6 months ago (2014-05-28 02:24:38 UTC) #9
Jeffrey Yasskin
The CQ bit was checked by jyasskin@chromium.org
6 years, 6 months ago (2014-05-28 04:05:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/303733002/20001
6 years, 6 months ago (2014-05-28 04:05:17 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 04:30:01 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 08:48:07 UTC) #13
Message was sent while issue was closed.
Change committed as 273184

Powered by Google App Engine
This is Rietveld 408576698