Index: components/cronet/url_request_context_config.cc |
diff --git a/components/cronet/url_request_context_config.cc b/components/cronet/url_request_context_config.cc |
index dae813dbf51f7a11a733fc5dbf0a09b4e0889683..570173b1504c03507f148c1f5881e6b660566222 100644 |
--- a/components/cronet/url_request_context_config.cc |
+++ b/components/cronet/url_request_context_config.cc |
@@ -34,6 +34,7 @@ const char kQuicStoreServerConfigsInProperties[] = |
"store_server_configs_in_properties"; |
const char kQuicMaxServerConfigsStoredInProperties[] = |
"max_server_configs_stored_in_properties"; |
+const char kQuicDelayTcpRace[] = "delay_tcp_race"; |
const char kQuicMaxNumberOfLossyConnections[] = |
"max_number_of_lossy_connections"; |
const char kQuicPacketLossThreshold[] = "packet_loss_threshold"; |
@@ -108,6 +109,11 @@ void ParseAndSetExperimentalOptions( |
static_cast<size_t>(quic_max_server_configs_stored_in_properties)); |
} |
+ bool quic_delay_tcp_race = false; |
+ if (quic_args->GetBoolean(kQuicDelayTcpRace, &quic_delay_tcp_race)) { |
+ context_builder->set_quic_delay_tcp_race(quic_delay_tcp_race); |
+ } |
+ |
int quic_max_number_of_lossy_connections = 0; |
if (quic_args->GetInteger(kQuicMaxNumberOfLossyConnections, |
&quic_max_number_of_lossy_connections)) { |