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

Issue 1185483003: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (1) (Closed)

Created:
5 years, 6 months ago by nhiroki
Modified:
5 years, 6 months ago
Reviewers:
kinuko, tkent
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (1) This is a refactoring CL for unregister(). Currently an unregister request is routed through WebServiceWorkerProvider, but this is not straightforward and it should be simpler to route it through WebServiceWorkerRegistration instead. In addition to the callpath arrangement, this series of CLs can remove sanity checks for a given "scope (pattern)" because WebServiceWorkerRegistration has "registration_id" that can be used to identify a registration to be unregistered in the browser-side (see the CL[2]). [1] Blink: THIS PATCH [2] Chromium: https://codereview.chromium.org/1181973004 [3] Blink: https://codereview.chromium.org/1190503002 [4] Chromium: https://codereview.chromium.org/1186803002 BUG=500404 TEST=compile Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197274

Patch Set 1 : #

Total comments: 2

Patch Set 2 : remove ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M public/platform/WebServiceWorkerProvider.h View 1 chunk +3 lines, -2 lines 0 comments Download
M public/platform/WebServiceWorkerRegistration.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
nhiroki
Hi kinuko-san, can you take a look at this and subsequent CLs? Thanks!
5 years, 6 months ago (2015-06-15 07:10:05 UTC) #5
kinuko
https://codereview.chromium.org/1185483003/diff/60001/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp File Source/modules/serviceworkers/ServiceWorkerRegistration.cpp (right): https://codereview.chromium.org/1185483003/diff/60001/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp#newcode108 Source/modules/serviceworkers/ServiceWorkerRegistration.cpp:108: #ifdef CRBUG_500404 Why do we have these ifdef's in ...
5 years, 6 months ago (2015-06-16 00:37:54 UTC) #6
nhiroki
Thank you! https://codereview.chromium.org/1185483003/diff/60001/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp File Source/modules/serviceworkers/ServiceWorkerRegistration.cpp (right): https://codereview.chromium.org/1185483003/diff/60001/Source/modules/serviceworkers/ServiceWorkerRegistration.cpp#newcode108 Source/modules/serviceworkers/ServiceWorkerRegistration.cpp:108: #ifdef CRBUG_500404 On 2015/06/16 00:37:54, kinuko wrote: ...
5 years, 6 months ago (2015-06-16 01:03:49 UTC) #7
kinuko
lgtm
5 years, 6 months ago (2015-06-16 01:11:44 UTC) #8
nhiroki
Hi kent-san, can you review this? Thanks
5 years, 6 months ago (2015-06-16 01:14:43 UTC) #10
tkent
lgtm
5 years, 6 months ago (2015-06-16 01:45:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1185483003/80001
5 years, 6 months ago (2015-06-17 15:59:17 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-17 19:27:02 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197274

Powered by Google App Engine
This is Rietveld 408576698