Index: content/browser/service_worker/service_worker_context_core.h |
diff --git a/content/browser/service_worker/service_worker_context_core.h b/content/browser/service_worker/service_worker_context_core.h |
index c59ef7cbb1d3fe5ba5bae3a51e98f98d2c967039..7f3948db31ace3015d185df26f351ea9f458a6bc 100644 |
--- a/content/browser/service_worker/service_worker_context_core.h |
+++ b/content/browser/service_worker/service_worker_context_core.h |
@@ -70,16 +70,22 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
// The callback will be called on the IO thread. |
void RegisterServiceWorker(const GURL& pattern, |
const GURL& script_url, |
+ int source_process_id, |
const RegistrationCallback& callback); |
// The callback will be called on the IO thread. |
void UnregisterServiceWorker(const GURL& pattern, |
+ int source_process_id, |
const UnregistrationCallback& callback); |
EmbeddedWorkerRegistry* embedded_worker_registry() { |
return embedded_worker_registry_.get(); |
} |
+ ServiceWorkerJobCoordinator* job_coordinator() { |
+ return job_coordinator_.get(); |
+ } |
+ |
private: |
friend class ServiceWorkerBrowserTest; |
@@ -100,8 +106,8 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
ProcessToProviderMap providers_; |
scoped_ptr<ServiceWorkerStorage> storage_; |
- scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; |
scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_; |
+ scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; |
DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextCore); |
}; |