Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(767)

Unified Diff: content/browser/service_worker/service_worker_context_core.h

Issue 992353003: Decouple Cache Storage messaging from Service Worker/Embedded Worker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c2457a80f4e39d936fcc2096ea406d2f1da4349d..272396612b0ee02d0b2f0675bfd712789d184165 100644
--- a/content/browser/service_worker/service_worker_context_core.h
+++ b/content/browser/service_worker/service_worker_context_core.h
@@ -29,10 +29,6 @@ class SequencedTaskRunner;
class SingleThreadTaskRunner;
}
-namespace net {
-class URLRequestContext;
-}
-
namespace storage {
class QuotaManagerProxy;
class SpecialStoragePolicy;
@@ -41,7 +37,6 @@ class SpecialStoragePolicy;
namespace content {
class EmbeddedWorkerRegistry;
-class ServiceWorkerCacheStorageManager;
class ServiceWorkerContextObserver;
class ServiceWorkerContextWrapper;
class ServiceWorkerDatabaseTaskManager;
@@ -107,7 +102,6 @@ class CONTENT_EXPORT ServiceWorkerContextCore
// be called on the thread which called AddObserver() of |observer_list|.
ServiceWorkerContextCore(
const base::FilePath& user_data_directory,
- const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner,
scoped_ptr<ServiceWorkerDatabaseTaskManager> database_task_runner_manager,
const scoped_refptr<base::SingleThreadTaskRunner>& disk_cache_thread,
storage::QuotaManagerProxy* quota_manager_proxy,
@@ -136,9 +130,6 @@ class CONTENT_EXPORT ServiceWorkerContextCore
ServiceWorkerContextWrapper* wrapper() const { return wrapper_; }
ServiceWorkerStorage* storage() { return storage_.get(); }
- ServiceWorkerCacheStorageManager* cache_manager() {
- return cache_manager_.get();
- }
ServiceWorkerProcessManager* process_manager();
EmbeddedWorkerRegistry* embedded_worker_registry() {
return embedded_worker_registry_.get();
@@ -208,10 +199,6 @@ 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<storage::BlobStorageContext> blob_storage_context);
-
// Methods to support cross site navigations.
scoped_ptr<ServiceWorkerProviderHost> TransferProviderHostOut(
int process_id,
@@ -257,7 +244,6 @@ class CONTENT_EXPORT ServiceWorkerContextCore
scoped_ptr<ProcessToProviderMap> providers_;
scoped_ptr<ProviderByClientUUIDMap> provider_by_uuid_;
scoped_ptr<ServiceWorkerStorage> storage_;
- scoped_ptr<ServiceWorkerCacheStorageManager> cache_manager_;
scoped_refptr<EmbeddedWorkerRegistry> embedded_worker_registry_;
scoped_ptr<ServiceWorkerJobCoordinator> job_coordinator_;
std::map<int64, ServiceWorkerRegistration*> live_registrations_;

Powered by Google App Engine
This is Rietveld 408576698