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 63522ea3b39ac1b8d1cf152bc06a5eaf01faff71..eb7d9b08c80b06f7e407db04a5591f50120e4f9c 100644 |
--- a/content/browser/service_worker/service_worker_context_core.h |
+++ b/content/browser/service_worker/service_worker_context_core.h |
@@ -41,6 +41,7 @@ class SpecialStoragePolicy; |
namespace content { |
class EmbeddedWorkerRegistry; |
+class NavigatorConnectMessageHandler; |
class ServiceWorkerCacheStorageManager; |
class ServiceWorkerContextObserver; |
class ServiceWorkerContextWrapper; |
@@ -138,6 +139,10 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
return job_coordinator_.get(); |
} |
+ NavigatorConnectMessageHandler* navigator_connect_message_handler() { |
+ return navigator_connect_message_handler_.get(); |
+ } |
+ |
// The context class owns the set of ProviderHosts. |
ServiceWorkerProviderHost* GetProviderHost(int process_id, int provider_id); |
void AddProviderHost(scoped_ptr<ServiceWorkerProviderHost> provider_host); |
@@ -223,6 +228,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
scoped_ptr<ServiceWorkerCacheStorageManager> cache_manager_; |
scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_; |
scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; |
+ scoped_ptr<NavigatorConnectMessageHandler> navigator_connect_message_handler_; |
std::map<int64, ServiceWorkerRegistration*> live_registrations_; |
std::map<int64, ServiceWorkerVersion*> live_versions_; |
int next_handle_id_; |