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

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

Issue 411973004: Stitch CacheStorage messages to implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cache_storage_stitch
Patch Set: Addresses all comments from PS5 Created 6 years, 4 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.cc
diff --git a/content/browser/service_worker/service_worker_context_core.cc b/content/browser/service_worker/service_worker_context_core.cc
index 582a4c585a638ac460cab788acd6f4f046acd0cb..1e8e858e7e45bbbe45b1a662f352cf71e10f17e2 100644
--- a/content/browser/service_worker/service_worker_context_core.cc
+++ b/content/browser/service_worker/service_worker_context_core.cc
@@ -83,7 +83,7 @@ void ServiceWorkerContextCore::ProviderHostIterator::Initialize() {
ServiceWorkerContextCore::ServiceWorkerContextCore(
const base::FilePath& path,
- base::SequencedTaskRunner* stores_task_runner,
+ base::SequencedTaskRunner* cache_task_runner,
base::SequencedTaskRunner* database_task_runner,
base::MessageLoopProxy* disk_cache_thread,
quota::QuotaManagerProxy* quota_manager_proxy,
@@ -97,8 +97,8 @@ ServiceWorkerContextCore::ServiceWorkerContextCore(
database_task_runner,
disk_cache_thread,
quota_manager_proxy)),
- fetch_stores_manager_(
- ServiceWorkerCacheStorageManager::Create(path, stores_task_runner)),
+ cache_manager_(
+ ServiceWorkerCacheStorageManager::Create(path, cache_task_runner)),
embedded_worker_registry_(EmbeddedWorkerRegistry::Create(AsWeakPtr())),
job_coordinator_(new ServiceWorkerJobCoordinator(AsWeakPtr())),
next_handle_id_(0),
@@ -113,8 +113,8 @@ ServiceWorkerContextCore::ServiceWorkerContextCore(
providers_(old_context->providers_.release()),
storage_(
ServiceWorkerStorage::Create(AsWeakPtr(), old_context->storage())),
- fetch_stores_manager_(ServiceWorkerCacheStorageManager::Create(
- old_context->fetch_stores_manager())),
+ cache_manager_(ServiceWorkerCacheStorageManager::Create(
+ old_context->cache_manager())),
embedded_worker_registry_(EmbeddedWorkerRegistry::Create(
AsWeakPtr(),
old_context->embedded_worker_registry())),
« no previous file with comments | « content/browser/service_worker/service_worker_context_core.h ('k') | content/browser/service_worker/service_worker_version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698