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

Unified Diff: net/url_request/url_request_context_builder.h

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments in Patch set 4 Created 4 years, 11 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/quic/quic_stream_factory_test.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder.h
diff --git a/net/url_request/url_request_context_builder.h b/net/url_request/url_request_context_builder.h
index 0a58c817961cbed8e02fb25f819dd46067a20159..b955c96c7974e25b4305c3f72d5d895a6c433f3a 100644
--- a/net/url_request/url_request_context_builder.h
+++ b/net/url_request/url_request_context_builder.h
@@ -88,7 +88,7 @@ class NET_EXPORT URLRequestContextBuilder {
std::string trusted_spdy_proxy;
bool use_alternative_services;
bool enable_quic;
- bool quic_store_server_configs_in_properties;
+ int quic_max_server_configs_stored_in_properties;
bool quic_delay_tcp_race;
int quic_max_number_of_lossy_connections;
std::unordered_set<std::string> quic_host_whitelist;
@@ -198,10 +198,10 @@ class NET_EXPORT URLRequestContextBuilder {
quic_connection_options;
}
- void set_quic_store_server_configs_in_properties(
- bool quic_store_server_configs_in_properties) {
- http_network_session_params_.quic_store_server_configs_in_properties =
- quic_store_server_configs_in_properties;
+ void set_quic_max_server_configs_stored_in_properties(
+ int quic_max_server_configs_stored_in_properties) {
+ http_network_session_params_.quic_max_server_configs_stored_in_properties =
+ quic_max_server_configs_stored_in_properties;
}
void set_quic_delay_tcp_race(bool quic_delay_tcp_race) {
« no previous file with comments | « net/quic/quic_stream_factory_test.cc ('k') | net/url_request/url_request_context_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698