| Index: chrome/browser/io_thread.cc
|
| diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
|
| index 8f34934df52870467cdb374c8fee132338a84422..aaf9faa131f2de89b1e008d4d2dfa95ea44de0f4 100644
|
| --- a/chrome/browser/io_thread.cc
|
| +++ b/chrome/browser/io_thread.cc
|
| @@ -1060,6 +1060,8 @@ void IOThread::InitializeNetworkSessionParamsFromGlobals(
|
| ¶ms->quic_disable_connection_pooling);
|
| globals.quic_load_server_info_timeout_ms.CopyToIfSet(
|
| ¶ms->quic_load_server_info_timeout_ms);
|
| + globals.quic_disable_loading_server_info_for_new_servers.CopyToIfSet(
|
| + ¶ms->quic_disable_loading_server_info_for_new_servers);
|
| globals.enable_quic_port_selection.CopyToIfSet(
|
| ¶ms->enable_quic_port_selection);
|
| globals.quic_max_packet_length.CopyToIfSet(¶ms->quic_max_packet_length);
|
| @@ -1210,6 +1212,8 @@ void IOThread::ConfigureQuicGlobals(
|
| globals->quic_load_server_info_timeout_ms.set(
|
| load_server_info_timeout_ms);
|
| }
|
| + globals->quic_disable_loading_server_info_for_new_servers.set(
|
| + ShouldDisableLoadingServerInfoForNewServers(quic_trial_params));
|
| globals->enable_quic_port_selection.set(
|
| ShouldEnableQuicPortSelection(command_line));
|
| globals->quic_connection_options =
|
| @@ -1374,6 +1378,15 @@ int IOThread::GetQuicLoadServerInfoTimeout(
|
| }
|
|
|
| // static
|
| +bool IOThread::ShouldDisableLoadingServerInfoForNewServers(
|
| + const VariationParameters& quic_trial_params) {
|
| + return LowerCaseEqualsASCII(
|
| + GetVariationParam(quic_trial_params,
|
| + "disable_loading_server_info_for_new_servers"),
|
| + "true");
|
| +}
|
| +
|
| +// static
|
| size_t IOThread::GetQuicMaxPacketLength(
|
| const CommandLine& command_line,
|
| base::StringPiece quic_trial_group,
|
|
|