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

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

Issue 674873002: [ServiceWorkerCache] Call QuotaManager::NotifyStorageModified from Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix refptr check Created 6 years, 2 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_cache_storage_manager.h
diff --git a/content/browser/service_worker/service_worker_cache_storage_manager.h b/content/browser/service_worker/service_worker_cache_storage_manager.h
index 534d8f4a0b4f7885b7db1f96b3cdc01148067e93..0d568acecbc2cf7cb1044a24484f966e2a785f73 100644
--- a/content/browser/service_worker/service_worker_cache_storage_manager.h
+++ b/content/browser/service_worker/service_worker_cache_storage_manager.h
@@ -41,7 +41,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
static scoped_ptr<ServiceWorkerCacheStorageManager> Create(
const base::FilePath& path,
const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner,
- storage::QuotaManagerProxy* quota_manager_proxy);
+ const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy);
static scoped_ptr<ServiceWorkerCacheStorageManager> Create(
ServiceWorkerCacheStorageManager* old_manager);
@@ -86,7 +86,7 @@ class CONTENT_EXPORT ServiceWorkerCacheStorageManager {
ServiceWorkerCacheStorageManager(
const base::FilePath& path,
const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner,
- storage::QuotaManagerProxy* quota_manager_proxy);
+ const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy);
// The returned ServiceWorkerCacheStorage* is owned by
// service_worker_cache_storages_.

Powered by Google App Engine
This is Rietveld 408576698