| Index: content/browser/cache_storage/cache_storage_context_impl.h
|
| diff --git a/content/browser/cache_storage/cache_storage_context_impl.h b/content/browser/cache_storage/cache_storage_context_impl.h
|
| index 9130b12c2022f87a27c4ebb35184ac90b6c9eae3..d72babf1d37c6165a2a51ad69fc11666053e1028 100644
|
| --- a/content/browser/cache_storage/cache_storage_context_impl.h
|
| +++ b/content/browser/cache_storage/cache_storage_context_impl.h
|
| @@ -9,6 +9,8 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/browser/cache_storage_context.h"
|
| +#include "content/public/browser/cache_storage_usage_info.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -34,9 +36,8 @@ class CacheStorageManager;
|
| // child processes/origins. Most logic is delegated to the owned
|
| // CacheStorageManager instance, which is only accessed on the IO
|
| // thread.
|
| -// TODO(jsbell): Derive from a public CacheStorageContext. crbug.com/466371
|
| class CONTENT_EXPORT CacheStorageContextImpl
|
| - : public base::RefCountedThreadSafe<CacheStorageContextImpl> {
|
| + : NON_EXPORTED_BASE(public CacheStorageContext) {
|
| public:
|
| explicit CacheStorageContextImpl(BrowserContext* browser_context);
|
|
|
| @@ -62,11 +63,14 @@ class CONTENT_EXPORT CacheStorageContextImpl
|
| net::URLRequestContextGetter* request_context_getter,
|
| ChromeBlobStorageContext* blob_storage_context);
|
|
|
| - private:
|
| - friend class base::RefCountedThreadSafe<CacheStorageContextImpl>;
|
| + // CacheStorageContext
|
| + void GetAllOriginsInfo(const GetUsageInfoCallback& callback) override;
|
| + void DeleteForOrigin(const GURL& origin) override;
|
|
|
| - ~CacheStorageContextImpl();
|
| + protected:
|
| + ~CacheStorageContextImpl() override;
|
|
|
| + private:
|
| void CreateCacheStorageManager(
|
| const base::FilePath& user_data_directory,
|
| const scoped_refptr<base::SequencedTaskRunner>& cache_task_runner,
|
|
|