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

Unified Diff: content/browser/cache_storage/cache_storage_manager_unittest.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
« no previous file with comments | « content/browser/cache_storage/cache_storage_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_manager_unittest.cc
diff --git a/content/browser/cache_storage/cache_storage_manager_unittest.cc b/content/browser/cache_storage/cache_storage_manager_unittest.cc
index 61963b1ba8d2ea062c6fe2975791b0ff566d8115..fd6ffccb68deef4b88d5ad67d8167ba8040758b0 100644
--- a/content/browser/cache_storage/cache_storage_manager_unittest.cc
+++ b/content/browser/cache_storage/cache_storage_manager_unittest.cc
@@ -41,8 +41,6 @@ class CacheStorageManagerTest : public testing::Test {
quota_manager_proxy_ = new MockQuotaManagerProxy(
nullptr, base::ThreadTaskRunnerHandle::Get().get());
- net::URLRequestContext* url_request_context =
- browser_context_.GetRequestContext()->GetURLRequestContext();
if (MemoryOnly()) {
cache_manager_ = CacheStorageManager::Create(
base::FilePath(), base::ThreadTaskRunnerHandle::Get(),
@@ -55,7 +53,8 @@ class CacheStorageManagerTest : public testing::Test {
}
cache_manager_->SetBlobParametersForCache(
- url_request_context, blob_storage_context->context()->AsWeakPtr());
+ browser_context_.GetRequestContext(),
+ blob_storage_context->context()->AsWeakPtr());
}
void TearDown() override {
« no previous file with comments | « content/browser/cache_storage/cache_storage_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698