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

Issue 360123002: ServiceWorker: some more groundwork in support of the update process (Closed)

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

Description

ServiceWorker: some more groundwork in support of the update process. * add an 'installing' version to the registration object * have the register job move the new version first to installing slot and then to waiting slot BUG=371671 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281189

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 31

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -244 lines) Patch
M content/browser/service_worker/service_worker_context_core.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_core.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_info.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_info.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_provider_host.h View 1 2 3 4 4 chunks +20 lines, -11 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 4 6 chunks +53 lines, -19 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host_unittest.cc View 1 4 chunks +29 lines, -29 lines 0 comments Download
M content/browser/service_worker/service_worker_register_job.h View 1 3 chunks +9 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_register_job.cc View 1 2 3 4 14 chunks +43 lines, -70 lines 0 comments Download
M content/browser/service_worker/service_worker_registration.h View 1 2 3 chunks +35 lines, -18 lines 0 comments Download
M content/browser/service_worker/service_worker_registration.cc View 1 2 3 4 3 chunks +81 lines, -14 lines 0 comments Download
M content/browser/service_worker/service_worker_registration_unittest.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_storage_unittest.cc View 1 2 3 4 9 chunks +9 lines, -12 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 3 4 2 chunks +4 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/service_worker/service_worker_types.h View 1 2 3 4 3 chunks +33 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
michaeln
hi matt, this isn't ready yet but i think my first step is to add ...
6 years, 5 months ago (2014-07-01 00:45:13 UTC) #1
nhiroki
FYI: I have a wip CL to support '.active' version (http://crrev.com/354643003) and probably it will ...
6 years, 5 months ago (2014-07-01 01:14:00 UTC) #2
falken
Yep, this all looks reasonable to me.
6 years, 5 months ago (2014-07-01 05:56:57 UTC) #3
michaeln
ok, ptal The way i'm getting a handle on the reg/update process is to have ...
6 years, 5 months ago (2014-07-02 02:53:37 UTC) #4
falken
lgtm with some nits, please also write CL description https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_info.cc File content/browser/service_worker/service_worker_info.cc (right): https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_info.cc#newcode56 content/browser/service_worker/service_worker_info.cc:56: ...
6 years, 5 months ago (2014-07-02 05:42:12 UTC) #5
nhiroki
lgtm https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_provider_host.cc File content/browser/service_worker/service_worker_provider_host.cc (right): https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_provider_host.cc#newcode91 content/browser/service_worker/service_worker_provider_host.cc:91: previous_version->RemoveWaitingControllee(this); We are adding/removing 'this' as a waiting ...
6 years, 5 months ago (2014-07-02 07:25:12 UTC) #6
michaeln
https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_info.cc File content/browser/service_worker/service_worker_info.cc (right): https://codereview.chromium.org/360123002/diff/60001/content/browser/service_worker/service_worker_info.cc#newcode56 content/browser/service_worker/service_worker_info.cc:56: On 2014/07/02 05:42:11, falken wrote: > extra newlines Done. ...
6 years, 5 months ago (2014-07-02 23:17:14 UTC) #7
michaeln
The CQ bit was checked by michaeln@chromium.org
6 years, 5 months ago (2014-07-02 23:33:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaeln@chromium.org/360123002/80001
6 years, 5 months ago (2014-07-02 23:35:03 UTC) #9
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, 5 months ago (2014-07-03 02:48:25 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-03 06:29:13 UTC) #11
Message was sent while issue was closed.
Change committed as 281189

Powered by Google App Engine
This is Rietveld 408576698