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

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

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.cc
diff --git a/content/child/service_worker/web_service_worker_provider_impl.cc b/content/child/service_worker/web_service_worker_provider_impl.cc
index 0485d68df5b2e22900653a100d40c96a7a788698..8fb9d344e1682db163662af32082f900992760dc 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.cc
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc
@@ -59,9 +59,9 @@ void WebServiceWorkerProviderImpl::registerServiceWorker(
void WebServiceWorkerProviderImpl::unregisterServiceWorker(
const WebURL& pattern,
- WebServiceWorkerUnregistrationCallbacks* callbacks) {
- GetDispatcher()->UnregisterServiceWorker(
- context_->provider_id(), pattern, callbacks);
+ blink::WebCallbacks<bool, blink::WebServiceWorkerError>* callbacks) {
+ GetDispatcher()->DeprecatedUnregisterServiceWorker(context_->provider_id(),
+ pattern, callbacks);
}
void WebServiceWorkerProviderImpl::getRegistration(

Powered by Google App Engine
This is Rietveld 408576698