DescriptionServiceWorker: 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 #
Messages
Total messages: 14 (6 generated)
|