| Index: chrome/browser/io_thread_unittest.cc
|
| diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc
|
| index 45117492a9aaf04f2cac67486111ec4716bd9e85..f3321ee333ee20d0974201282fab9850204c03a9 100644
|
| --- a/chrome/browser/io_thread_unittest.cc
|
| +++ b/chrome/browser/io_thread_unittest.cc
|
| @@ -238,7 +238,6 @@
|
| params.quic_idle_connection_timeout_seconds);
|
| EXPECT_FALSE(params.quic_disable_preconnect_if_0rtt);
|
| EXPECT_FALSE(IOThread::ShouldEnableQuicForDataReductionProxy());
|
| - EXPECT_TRUE(params.quic_host_whitelist.empty());
|
| }
|
|
|
| TEST_F(IOThreadTest, EnableQuicFromQuicProxyFieldTrialGroup) {
|
| @@ -572,32 +571,6 @@
|
| EXPECT_EQ(.5, params.alternative_service_probability_threshold);
|
| }
|
|
|
| -TEST_F(IOThreadTest, QuicWhitelistFromCommandLinet) {
|
| - command_line_.AppendSwitch("enable-quic");
|
| - command_line_.AppendSwitchASCII("quic-host-whitelist",
|
| - "www.example.org, www.example.com");
|
| -
|
| - ConfigureQuicGlobals();
|
| - net::HttpNetworkSession::Params params;
|
| - InitializeNetworkSessionParams(¶ms);
|
| - EXPECT_EQ(2u, params.quic_host_whitelist.size());
|
| - EXPECT_TRUE(ContainsKey(params.quic_host_whitelist, "www.example.org"));
|
| - EXPECT_TRUE(ContainsKey(params.quic_host_whitelist, "www.example.com"));
|
| -}
|
| -
|
| -TEST_F(IOThreadTest, QuicWhitelistFromParams) {
|
| - field_trial_group_ = "Enabled";
|
| - field_trial_params_["quic_host_whitelist"] =
|
| - "www.example.org, www.example.com";
|
| -
|
| - ConfigureQuicGlobals();
|
| - net::HttpNetworkSession::Params params;
|
| - InitializeNetworkSessionParams(¶ms);
|
| - EXPECT_EQ(2u, params.quic_host_whitelist.size());
|
| - EXPECT_TRUE(ContainsKey(params.quic_host_whitelist, "www.example.org"));
|
| - EXPECT_TRUE(ContainsKey(params.quic_host_whitelist, "www.example.com"));
|
| -}
|
| -
|
| TEST_F(IOThreadTest, QuicDisallowedByPolicy) {
|
| command_line_.AppendSwitch(switches::kEnableQuic);
|
| is_quic_allowed_by_policy_ = false;
|
|
|