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

Unified Diff: net/http/http_cache.h

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/cert_net/cert_net_fetcher_impl_unittest.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 2aae2fcf27e1cc0aed6fcbbe3b73eb3c3d293708..f881b2a056c71f0482bc5cf1b703537e7df94f7d 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -123,17 +123,18 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
//
// The HttpCache must be destroyed before the HttpNetworkSession.
//
- // If |set_up_quic_server_info| is true, configures the cache to track
+ // If |is_main_cache| is true, configures the cache to track
// information about servers supporting QUIC.
+ // TODO(zhongyi): remove |is_main_cache| when we get rid of cache split.
HttpCache(HttpNetworkSession* session,
std::unique_ptr<BackendFactory> backend_factory,
- bool set_up_quic_server_info);
+ bool is_main_cache);
// Initialize the cache from its component parts. |network_layer| and
// |backend_factory| will be destroyed when the HttpCache is.
HttpCache(std::unique_ptr<HttpTransactionFactory> network_layer,
std::unique_ptr<BackendFactory> backend_factory,
- bool set_up_quic_server_info);
+ bool is_main_cache);
~HttpCache() override;
« no previous file with comments | « net/cert_net/cert_net_fetcher_impl_unittest.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698