Chromium Code Reviews| 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 eacbd857973ed276a7f2a5643f0881adbdc27e43..836128f5fda07244b9e8c300732d6dd180635d48 100644 |
| --- a/content/browser/service_worker/service_worker_context_core.h |
| +++ b/content/browser/service_worker/service_worker_context_core.h |
| @@ -29,6 +29,10 @@ class MessageLoopProxy; |
| class SequencedTaskRunner; |
| } |
| +namespace net { |
| +class URLRequestContext; |
| +} |
| + |
| namespace quota { |
| class QuotaManagerProxy; |
| } |
| @@ -122,7 +126,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
| ServiceWorkerStorage* storage() { return storage_.get(); } |
| ServiceWorkerCacheStorageManager* fetch_stores_manager() { |
|
michaeln
2014/08/13 02:03:37
also rename the getter
jkarlin
2014/08/13 11:56:41
Done.
|
| - return fetch_stores_manager_.get(); |
| + return cache_storage_manager_.get(); |
| } |
| ServiceWorkerProcessManager* process_manager(); |
| EmbeddedWorkerRegistry* embedded_worker_registry() { |
| @@ -173,6 +177,10 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
| // in a disabled state until it's done. |
| void DeleteAndStartOver(const StatusCallback& callback); |
| + void SetBlobParametersForCache( |
| + net::URLRequestContext* request_context, |
| + base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context); |
| + |
| base::WeakPtr<ServiceWorkerContextCore> AsWeakPtr() { |
| return weak_factory_.GetWeakPtr(); |
| } |
| @@ -202,7 +210,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
| ServiceWorkerContextWrapper* wrapper_; |
| scoped_ptr<ProcessToProviderMap> providers_; |
| scoped_ptr<ServiceWorkerStorage> storage_; |
| - scoped_ptr<ServiceWorkerCacheStorageManager> fetch_stores_manager_; |
| + scoped_ptr<ServiceWorkerCacheStorageManager> cache_storage_manager_; |
| scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_; |
| scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_; |
| std::map<int64, ServiceWorkerRegistration*> live_registrations_; |