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

Unified Diff: content/browser/service_worker/service_worker_context_core.cc

Issue 252893006: Remove the unused source_process_id and provider_host arguments to SW unregistration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 6 years, 8 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/browser/service_worker/service_worker_context_core.cc
diff --git a/content/browser/service_worker/service_worker_context_core.cc b/content/browser/service_worker/service_worker_context_core.cc
index 910b33c1f50fced97f8bca34e60ec5e5665026a3..d65466192abab5357ee87efb8a30257c520c0e9e 100644
--- a/content/browser/service_worker/service_worker_context_core.cc
+++ b/content/browser/service_worker/service_worker_context_core.cc
@@ -160,15 +160,10 @@ void ServiceWorkerContextCore::RegisterServiceWorker(
void ServiceWorkerContextCore::UnregisterServiceWorker(
const GURL& pattern,
- int source_process_id,
- ServiceWorkerProviderHost* provider_host,
const UnregistrationCallback& callback) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- // TODO(kinuko): Wire the provider_host so that we can tell which document
- // is calling .register.
-
- job_coordinator_->Unregister(pattern, source_process_id, callback);
+ job_coordinator_->Unregister(pattern, callback);
}
void ServiceWorkerContextCore::RegistrationComplete(

Powered by Google App Engine
This is Rietveld 408576698