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

Unified Diff: content/browser/cache_storage/cache_storage_context_impl.cc

Issue 1174943004: [CacheStorage] Use URLRequestContextGetter instead of URLRequestContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS4 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_context_impl.cc
diff --git a/content/browser/cache_storage/cache_storage_context_impl.cc b/content/browser/cache_storage/cache_storage_context_impl.cc
index 7e43070909d30921ac685c5504bd87d1ec883895..aa5c030cc05054e8dba74f980d39e3a51d6a4769 100644
--- a/content/browser/cache_storage/cache_storage_context_impl.cc
+++ b/content/browser/cache_storage/cache_storage_context_impl.cc
@@ -71,14 +71,13 @@ CacheStorageManager* CacheStorageContextImpl::cache_manager() const {
}
void CacheStorageContextImpl::SetBlobParametersForCache(
- net::URLRequestContextGetter* request_context,
+ net::URLRequestContextGetter* request_context_getter,
ChromeBlobStorageContext* blob_storage_context) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- if (cache_manager_ && request_context && blob_storage_context) {
+ if (cache_manager_ && request_context_getter && blob_storage_context) {
cache_manager_->SetBlobParametersForCache(
- request_context->GetURLRequestContext(),
- blob_storage_context->context()->AsWeakPtr());
+ request_context_getter, blob_storage_context->context()->AsWeakPtr());
}
}
« no previous file with comments | « content/browser/cache_storage/cache_storage_context_impl.h ('k') | content/browser/cache_storage/cache_storage_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698