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 6268fdd30354980bad6606314f0463099709216e..7a4d19b08b296e9ede25befdabc58cd1eb6a78bb 100644 |
--- a/content/browser/service_worker/service_worker_context_core.cc |
+++ b/content/browser/service_worker/service_worker_context_core.cc |
@@ -23,10 +23,8 @@ |
const base::FilePath& path, |
quota::QuotaManagerProxy* quota_manager_proxy) |
: storage_(new ServiceWorkerStorage(path, quota_manager_proxy)), |
- embedded_worker_registry_(new EmbeddedWorkerRegistry(AsWeakPtr())), |
- job_coordinator_( |
- new ServiceWorkerJobCoordinator(storage_.get(), |
- embedded_worker_registry_)) {} |
+ job_coordinator_(new ServiceWorkerJobCoordinator(storage_.get())), |
+ embedded_worker_registry_(new EmbeddedWorkerRegistry(AsWeakPtr())) {} |
ServiceWorkerContextCore::~ServiceWorkerContextCore() {} |
@@ -70,14 +68,12 @@ |
void ServiceWorkerContextCore::RegisterServiceWorker( |
const GURL& pattern, |
const GURL& script_url, |
- int source_process_id, |
const RegistrationCallback& callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
job_coordinator_->Register( |
pattern, |
script_url, |
- source_process_id, |
base::Bind(&ServiceWorkerContextCore::RegistrationComplete, |
AsWeakPtr(), |
callback)); |
@@ -85,11 +81,10 @@ |
void ServiceWorkerContextCore::UnregisterServiceWorker( |
const GURL& pattern, |
- int source_process_id, |
const UnregistrationCallback& callback) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
- job_coordinator_->Unregister(pattern, source_process_id, callback); |
+ job_coordinator_->Unregister(pattern, callback); |
} |
void ServiceWorkerContextCore::RegistrationComplete( |