| Index: content/browser/cache_storage/cache_storage.h
|
| diff --git a/content/browser/cache_storage/cache_storage.h b/content/browser/cache_storage/cache_storage.h
|
| index 525e6167a83b2f926cdd8c55cccee66f211c5229..20376c1257e2762f4ac5a66f1693f56a760fcc3a 100644
|
| --- a/content/browser/cache_storage/cache_storage.h
|
| +++ b/content/browser/cache_storage/cache_storage.h
|
| @@ -112,7 +112,6 @@ class CONTENT_EXPORT CacheStorage {
|
| private:
|
| friend class CacheStorageCacheHandle;
|
| friend class CacheStorageCache;
|
| - friend class TestCacheStorage;
|
| class CacheLoader;
|
| class MemoryLoader;
|
| class SimpleCacheLoader;
|
| @@ -131,14 +130,6 @@ class CONTENT_EXPORT CacheStorage {
|
| std::unique_ptr<CacheStorageCacheHandle> GetLoadedCache(
|
| const std::string& cache_name);
|
|
|
| - // Holds a reference to a cache for a short period in case they're used again
|
| - // soon.
|
| - void TemporarilyPreserveCache(
|
| - std::unique_ptr<CacheStorageCacheHandle> cache_handle);
|
| - virtual void SchedulePreservedCacheRemoval(
|
| - const base::Closure& callback); // Virtual for testing.
|
| - void RemovePreservedCache(const CacheStorageCache* cache);
|
| -
|
| // Initializer and its callback are below.
|
| void LazyInit();
|
| void LazyInitImpl();
|
| @@ -260,11 +251,6 @@ class CONTENT_EXPORT CacheStorage {
|
| // Performs backend specific operations (memory vs disk).
|
| std::unique_ptr<CacheLoader> cache_loader_;
|
|
|
| - // Holds handles to recently opened caches so that they can be reused
|
| - // without having to open the cache again.
|
| - std::map<const CacheStorageCache*, std::unique_ptr<CacheStorageCacheHandle>>
|
| - preserved_caches_;
|
| -
|
| // The quota manager.
|
| scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_;
|
|
|
|
|