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..e18445cf681176a332e2fecc21fc8337057bd60a 100644 |
--- a/content/browser/service_worker/service_worker_context_core.h |
+++ b/content/browser/service_worker/service_worker_context_core.h |
@@ -29,12 +29,17 @@ class MessageLoopProxy; |
class SequencedTaskRunner; |
} |
+namespace net { |
+class URLRequestContext; |
+} |
+ |
namespace quota { |
class QuotaManagerProxy; |
} |
namespace content { |
+class ChromeBlobStorageContext; |
jkarlin
2014/08/12 19:22:15
I'll remove this line.
jkarlin
2014/08/13 00:14:00
Done.
|
class EmbeddedWorkerRegistry; |
class ServiceWorkerCacheStorageManager; |
class ServiceWorkerContextObserver; |
@@ -122,7 +127,7 @@ class CONTENT_EXPORT ServiceWorkerContextCore |
ServiceWorkerStorage* storage() { return storage_.get(); } |
ServiceWorkerCacheStorageManager* fetch_stores_manager() { |
- return fetch_stores_manager_.get(); |
+ return cache_storage_manager_.get(); |
} |
ServiceWorkerProcessManager* process_manager(); |
EmbeddedWorkerRegistry* embedded_worker_registry() { |
@@ -173,6 +178,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 +211,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_; |