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

Unified Diff: content/browser/cache_storage/cache_storage_manager.h

Issue 1421863002: [CacheStorage] Garbage collect unreferenced caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@random_cache_name
Patch Set: Address comments from PS2 Created 5 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/cache_storage/cache_storage_manager.h
diff --git a/content/browser/cache_storage/cache_storage_manager.h b/content/browser/cache_storage/cache_storage_manager.h
index 0499f95524d5cd80341bf810f4a1a837db871309..2d83a65413dd30948e7c910725b4c2d89be4cbee 100644
--- a/content/browser/cache_storage/cache_storage_manager.h
+++ b/content/browser/cache_storage/cache_storage_manager.h
@@ -83,12 +83,13 @@ class CONTENT_EXPORT CacheStorageManager {
return weak_ptr_factory_.GetWeakPtr();
}
+ base::FilePath root_path() const { return root_path_; }
+
private:
friend class CacheStorageContextImpl;
friend class CacheStorageManagerTest;
friend class CacheStorageMigrationTest;
friend class CacheStorageQuotaClient;
- friend class MigratedLegacyCacheDirectoryNameTest;
typedef std::map<GURL, CacheStorage*> CacheStorageMap;
@@ -122,10 +123,11 @@ class CONTENT_EXPORT CacheStorageManager {
const {
return request_context_getter_;
}
+
base::WeakPtr<storage::BlobStorageContext> blob_storage_context() const {
return blob_context_;
}
- base::FilePath root_path() const { return root_path_; }
+
const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner() const {
return cache_task_runner_;
}
« no previous file with comments | « content/browser/cache_storage/cache_storage.cc ('k') | content/browser/cache_storage/cache_storage_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698