| 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 e911e4c3473d33a60dc7917ce490c49d804e087a..4ab4351be7d9088b592469aafc23bbf61a97e16b 100644
|
| --- a/content/browser/service_worker/service_worker_context_core.h
|
| +++ b/content/browser/service_worker/service_worker_context_core.h
|
| @@ -81,6 +81,8 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
| }
|
|
|
| private:
|
| + friend class ServiceWorkerBrowserTest;
|
| +
|
| typedef IDMap<ServiceWorkerProviderHost, IDMapOwnPointer> ProviderMap;
|
| typedef IDMap<ProviderMap, IDMapOwnPointer> ProcessToProviderMap;
|
|
|
| @@ -93,6 +95,9 @@ class CONTENT_EXPORT ServiceWorkerContextCore
|
| ServiceWorkerRegistrationStatus status,
|
| const scoped_refptr<ServiceWorkerRegistration>& registration);
|
|
|
| + // Used only for testing.
|
| + void GetAllProviderHosts(std::vector<ServiceWorkerProviderHost*>* providers);
|
| +
|
| ProcessToProviderMap providers_;
|
| scoped_ptr<ServiceWorkerStorage> storage_;
|
| scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_;
|
|
|