| 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 63c25a40670446742bd28d776ce11762b1c4684a..32b845c753a216f2fe293b95af98a21e16945393 100644
|
| --- a/components/cronet/url_request_context_config.cc
|
| +++ b/components/cronet/url_request_context_config.cc
|
| @@ -29,6 +29,8 @@ const char kQuicDelayTcpRace[] = "delay_tcp_race";
|
| const char kQuicMaxNumberOfLossyConnections[] =
|
| "max_number_of_lossy_connections";
|
| const char kQuicPacketLossThreshold[] = "packet_loss_threshold";
|
| +const char kQuicIdleConnectionTimeoutSeconds[] =
|
| + "idle_connection_timeout_seconds";
|
|
|
| // AsyncDNS experiment dictionary name.
|
| const char kAsyncDnsFieldTrialName[] = "AsyncDNS";
|
| @@ -95,6 +97,13 @@ void ParseAndSetExperimentalOptions(
|
| context_builder->set_quic_packet_loss_threshold(
|
| quic_packet_loss_threshold);
|
| }
|
| +
|
| + int quic_idle_connection_timeout_seconds = 0;
|
| + if (quic_args->GetInteger(kQuicIdleConnectionTimeoutSeconds,
|
| + &quic_idle_connection_timeout_seconds)) {
|
| + context_builder->set_quic_idle_connection_timeout_seconds(
|
| + quic_idle_connection_timeout_seconds);
|
| + }
|
| }
|
|
|
| const base::DictionaryValue* async_dns_args = nullptr;
|
|
|