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

Unified Diff: net/http/mock_http_cache.cc

Issue 2681953002: Rename set_up_quic_server_info_factory to is_main_cache (Closed)
Patch Set: Created 3 years, 10 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 | « net/http/mock_http_cache.h ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index d7c08bace79c8a667ebf42953bfd65b5749068fd..205a45e4b05d7ea4f55c30231e67cddf5ac8a0a0 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -546,16 +546,15 @@ MockHttpCache::MockHttpCache(
std::unique_ptr<HttpCache::BackendFactory> disk_cache_factory)
: MockHttpCache(std::move(disk_cache_factory), false) {}
-MockHttpCache::MockHttpCache(bool set_up_quic_server_info)
- : MockHttpCache(base::MakeUnique<MockBackendFactory>(),
- set_up_quic_server_info) {}
+MockHttpCache::MockHttpCache(bool is_main_cache)
+ : MockHttpCache(base::MakeUnique<MockBackendFactory>(), is_main_cache) {}
MockHttpCache::MockHttpCache(
std::unique_ptr<HttpCache::BackendFactory> disk_cache_factory,
- bool set_up_quic_server_info)
+ bool is_main_cache)
: http_cache_(base::MakeUnique<MockNetworkLayer>(),
std::move(disk_cache_factory),
- set_up_quic_server_info) {}
+ is_main_cache) {}
disk_cache::Backend* MockHttpCache::backend() {
TestCompletionCallback cb;
« no previous file with comments | « net/http/mock_http_cache.h ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698