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

Unified Diff: net/url_request/url_request_context_builder.cc

Issue 1448583003: [Cronet] Add QUIC experimental params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@experiment_ops
Patch Set: Fix build Created 5 years, 1 month 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/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_builder.cc
diff --git a/net/url_request/url_request_context_builder.cc b/net/url_request/url_request_context_builder.cc
index 2abd95f3db6f3c16af583c6bc2c4c9e373906c03..91e399112d3432ed2726d01b5ff8b0f5e8bb20f7 100644
--- a/net/url_request/url_request_context_builder.cc
+++ b/net/url_request/url_request_context_builder.cc
@@ -177,7 +177,11 @@ URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams()
testing_fixed_https_port(0),
next_protos(NextProtosDefaults()),
use_alternative_services(true),
- enable_quic(false) {}
+ enable_quic(false),
+ quic_store_server_configs_in_properties(false),
+ quic_delay_tcp_race(false),
+ quic_max_number_of_lossy_connections(0),
+ quic_packet_loss_threshold(1.0f) {}
URLRequestContextBuilder::HttpNetworkSessionParams::~HttpNetworkSessionParams()
{}
@@ -389,6 +393,14 @@ scoped_ptr<URLRequestContext> URLRequestContextBuilder::Build() {
http_network_session_params_.trusted_spdy_proxy;
network_session_params.next_protos = http_network_session_params_.next_protos;
network_session_params.enable_quic = http_network_session_params_.enable_quic;
+ network_session_params.quic_store_server_configs_in_properties =
+ http_network_session_params_.quic_store_server_configs_in_properties;
+ network_session_params.quic_delay_tcp_race =
+ http_network_session_params_.quic_delay_tcp_race;
+ network_session_params.quic_max_number_of_lossy_connections =
+ http_network_session_params_.quic_max_number_of_lossy_connections;
+ network_session_params.quic_packet_loss_threshold =
+ http_network_session_params_.quic_packet_loss_threshold;
network_session_params.quic_connection_options =
http_network_session_params_.quic_connection_options;
network_session_params.ssl_session_cache_shard =
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698