Index: content/browser/cache_storage/cache_storage_cache.h |
diff --git a/content/browser/cache_storage/cache_storage_cache.h b/content/browser/cache_storage/cache_storage_cache.h |
index 8e682eafe7eae2a5085752fb73c3645d6a6279d5..dce52dfd7b17bb669219e83706c8089945fd504c 100644 |
--- a/content/browser/cache_storage/cache_storage_cache.h |
+++ b/content/browser/cache_storage/cache_storage_cache.h |
@@ -16,7 +16,7 @@ |
#include "net/disk_cache/disk_cache.h" |
namespace net { |
-class URLRequestContext; |
+class URLRequestContextGetter; |
class IOBufferWithSize; |
} |
@@ -50,13 +50,13 @@ class CONTENT_EXPORT CacheStorageCache |
static scoped_refptr<CacheStorageCache> CreateMemoryCache( |
const GURL& origin, |
- net::URLRequestContext* request_context, |
+ const scoped_refptr<net::URLRequestContextGetter>& request_context, |
const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy, |
base::WeakPtr<storage::BlobStorageContext> blob_context); |
static scoped_refptr<CacheStorageCache> CreatePersistentCache( |
const GURL& origin, |
const base::FilePath& path, |
- net::URLRequestContext* request_context, |
+ const scoped_refptr<net::URLRequestContextGetter>& request_context, |
const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy, |
base::WeakPtr<storage::BlobStorageContext> blob_context); |
@@ -121,7 +121,7 @@ class CONTENT_EXPORT CacheStorageCache |
CacheStorageCache( |
const GURL& origin, |
const base::FilePath& path, |
- net::URLRequestContext* request_context, |
+ const scoped_refptr<net::URLRequestContextGetter>& request_context, |
const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy, |
base::WeakPtr<storage::BlobStorageContext> blob_context); |
@@ -206,7 +206,7 @@ class CONTENT_EXPORT CacheStorageCache |
GURL origin_; |
base::FilePath path_; |
- net::URLRequestContext* request_context_; |
+ scoped_refptr<net::URLRequestContextGetter> request_context_; |
scoped_refptr<storage::QuotaManagerProxy> quota_manager_proxy_; |
base::WeakPtr<storage::BlobStorageContext> blob_storage_context_; |
BackendState backend_state_; |