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

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

Issue 1174943004: [CacheStorage] Use URLRequestContextGetter instead of URLRequestContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually pass a getter Created 5 years, 6 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.h
diff --git a/content/browser/cache_storage/cache_storage.h b/content/browser/cache_storage/cache_storage.h
index 261eebd134c62dafbb56747ae624aa49ee4584f4..9cf73eea785eba05c7418012e8bb55a5514bc603 100644
--- a/content/browser/cache_storage/cache_storage.h
+++ b/content/browser/cache_storage/cache_storage.h
@@ -18,7 +18,7 @@ class SequencedTaskRunner;
}
namespace net {
-class URLRequestContext;
+class URLRequestContextGetter;
}
namespace storage {
@@ -48,7 +48,7 @@ class CONTENT_EXPORT CacheStorage {
const base::FilePath& origin_path,
bool memory_only,
base::SequencedTaskRunner* cache_task_runner,
- net::URLRequestContext* request_context,
+ const scoped_refptr<net::URLRequestContextGetter>& request_context,
mmenke 2015/06/10 17:00:31 include ref_counted.h
mmenke 2015/06/10 17:00:31 Goes for the entire CL: Know it's done elsewhere,
jkarlin 2015/06/10 18:26:03 Done.
jkarlin 2015/06/10 18:26:03 Done.
const scoped_refptr<storage::QuotaManagerProxy>& quota_manager_proxy,
base::WeakPtr<storage::BlobStorageContext> blob_context,
const GURL& origin);
« no previous file with comments | « no previous file | content/browser/cache_storage/cache_storage.cc » ('j') | content/browser/cache_storage/cache_storage_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698