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

Unified Diff: public/platform/WebServiceWorkerProvider.h

Issue 1166283006: ServiceWorker: Implement ServiceWorkerRegistration.update() (1) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerRegistration.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerProvider.h
diff --git a/public/platform/WebServiceWorkerProvider.h b/public/platform/WebServiceWorkerProvider.h
index ce600c50206a661cecf36bf815fc2b19843cea0a..8f5021115167817695521eb78ac41904c204ea4a 100644
--- a/public/platform/WebServiceWorkerProvider.h
+++ b/public/platform/WebServiceWorkerProvider.h
@@ -58,10 +58,8 @@ public:
typedef WebCallbacks<WebServiceWorkerRegistration, void> WebServiceWorkerGetRegistrationForReadyCallbacks;
virtual void registerServiceWorker(const WebURL& pattern, const WebURL& scriptUrl, WebServiceWorkerRegistrationCallbacks*) { }
-
- // Unregisters the ServiceWorker for a given scope.
+ virtual void updateServiceWorker(const WebURL& pattern) { }
virtual void unregisterServiceWorker(const WebURL& pattern, WebServiceWorkerUnregistrationCallbacks*) { }
-
virtual void getRegistration(const WebURL& documentURL, WebServiceWorkerGetRegistrationCallbacks*) { }
virtual void getRegistrationForReady(WebServiceWorkerGetRegistrationForReadyCallbacks*) { }
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerRegistration.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698