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

Unified Diff: content/child/service_worker/web_service_worker_provider_impl.h

Issue 1181973004: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ifdef 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
Index: content/child/service_worker/web_service_worker_provider_impl.h
diff --git a/content/child/service_worker/web_service_worker_provider_impl.h b/content/child/service_worker/web_service_worker_provider_impl.h
index 57722cddc8136170dc288929871138bcf0eb41a7..8e77152d5bc5e63c609de9decfdec7d4a75aef04 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.h
+++ b/content/child/service_worker/web_service_worker_provider_impl.h
@@ -35,9 +35,10 @@ class WebServiceWorkerProviderImpl
const blink::WebURL& script_url,
WebServiceWorkerRegistrationCallbacks*);
+ // TODO(nhiroki): Remove this after http://crbug.com/500404 is fixed.
virtual void unregisterServiceWorker(
const blink::WebURL& pattern,
- WebServiceWorkerUnregistrationCallbacks*);
+ blink::WebCallbacks<bool, blink::WebServiceWorkerError>*);
virtual void getRegistration(const blink::WebURL& document_url,
WebServiceWorkerGetRegistrationCallbacks*);

Powered by Google App Engine
This is Rietveld 408576698