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

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

Issue 1186803002: ServiceWorker: Route unregister() through WebServiceWorkerRegistration for refactoring (4) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@route_web_sw_reg_2
Patch Set: rebase 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 8fb9d344e1682db163662af32082f900992760dc..70285faa2abc43eea9401114a48a325e3c5f167a 100644
--- a/content/child/service_worker/web_service_worker_provider_impl.cc
+++ b/content/child/service_worker/web_service_worker_provider_impl.cc
@@ -57,13 +57,6 @@ void WebServiceWorkerProviderImpl::registerServiceWorker(
context_->provider_id(), pattern, script_url, callbacks);
}
-void WebServiceWorkerProviderImpl::unregisterServiceWorker(
- const WebURL& pattern,
- blink::WebCallbacks<bool, blink::WebServiceWorkerError>* callbacks) {
- GetDispatcher()->DeprecatedUnregisterServiceWorker(context_->provider_id(),
- pattern, callbacks);
-}
-
void WebServiceWorkerProviderImpl::getRegistration(
const blink::WebURL& document_url,
WebServiceWorkerRegistrationCallbacks* callbacks) {

Powered by Google App Engine
This is Rietveld 408576698