Index: content/browser/service_worker/service_worker_job_coordinator.h |
diff --git a/content/browser/service_worker/service_worker_job_coordinator.h b/content/browser/service_worker/service_worker_job_coordinator.h |
index 7dd42a39237e58c12ff190fb03346e289ad4e50e..d590f0fcc2d553fa5e819a5f0d3e4c8cb334b89b 100644 |
--- a/content/browser/service_worker/service_worker_job_coordinator.h |
+++ b/content/browser/service_worker/service_worker_job_coordinator.h |
@@ -18,24 +18,20 @@ |
namespace content { |
class ServiceWorkerRegistration; |
-class EmbeddedWorkerRegistry; |
// This class manages all in-flight jobs. Any asynchronous |
// operations are run through instances of ServiceWorkerRegisterJob. |
class CONTENT_EXPORT ServiceWorkerJobCoordinator { |
public: |
- explicit ServiceWorkerJobCoordinator(ServiceWorkerStorage* storage, |
- EmbeddedWorkerRegistry* registry); |
+ explicit ServiceWorkerJobCoordinator(ServiceWorkerStorage* storage); |
~ServiceWorkerJobCoordinator(); |
void Register(const GURL& pattern, |
const GURL& script_url, |
- int source_process_id, |
const ServiceWorkerRegisterJob::RegistrationCallback& callback); |
void Unregister( |
const GURL& pattern, |
- int source_process_id, |
const ServiceWorkerRegisterJob::UnregistrationCallback& callback); |
// Jobs are removed whenever they are finished or canceled. |
@@ -50,7 +46,6 @@ |
~JobQueue(); |
void Push(scoped_ptr<ServiceWorkerRegisterJob> job, |
- int source_process_id, |
const ServiceWorkerRegisterJob::RegistrationCallback& callback); |
void Pop(ServiceWorkerRegisterJob* job); |
@@ -71,7 +66,6 @@ |
// The ServiceWorkerStorage object should always outlive this |
ServiceWorkerStorage* storage_; |
- EmbeddedWorkerRegistry* worker_registry_; |
base::WeakPtrFactory<ServiceWorkerJobCoordinator> weak_factory_; |
RegistrationJobMap jobs_; |