Chromium Code Reviews| Index: chrome/browser/io_thread_unittest.cc |
| diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc |
| index e11676a6f81367be8dc6ddf5a0e37417a5c5c2af..7d34219237000cc0f8f9ccca800d55881ef3eb5d 100644 |
| --- a/chrome/browser/io_thread_unittest.cc |
| +++ b/chrome/browser/io_thread_unittest.cc |
| @@ -133,6 +133,7 @@ TEST_F(IOThreadTest, EnableQuicFromFieldTrialGroup) { |
| EXPECT_FALSE(params.quic_always_require_handshake_confirmation); |
| EXPECT_FALSE(params.quic_disable_connection_pooling); |
| EXPECT_EQ(0, params.quic_load_server_info_timeout_ms); |
| + EXPECT_FALSE(params.quic_disable_loading_server_info_for_new_servers); |
| } |
| TEST_F(IOThreadTest, EnableQuicFromCommandLine) { |
| @@ -295,6 +296,15 @@ TEST_F(IOThreadTest, QuicLoadServerInfoTimeoutFromFieldTrialParams) { |
| EXPECT_EQ(50, params.quic_load_server_info_timeout_ms); |
| } |
| +TEST_F(IOThreadTest, QuicDisableLoadingServerInfoForNewServers) { |
| + field_trial_group_ = "Enabled"; |
| + field_trial_params_["disable_loading_server_info_for_new_servers"] = "true"; |
| + ConfigureQuicGlobals(); |
| + net::HttpNetworkSession::Params params; |
| + InitializeNetworkSessionParams(¶ms); |
| + EXPECT_TRUE(params.quic_disable_loading_server_info_for_new_servers); |
|
Ryan Hamilton
2014/12/18 21:12:55
please add an EXPECT_FALSE for this field up to th
ramant (doing other things)
2014/12/18 23:05:55
Done.
|
| +} |
| + |
| TEST_F(IOThreadTest, |
| AlternateProtocolProbabilityThresholdFromFlag) { |
| command_line_.AppendSwitchASCII("alternate-protocol-probability-threshold", |