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 173ff58bc6aa6287766774d1afc402d7aedcde56..f845565b951a249490bd4a670f0a22d4dec7a14d 100644 |
| --- a/chrome/browser/io_thread_unittest.cc |
| +++ b/chrome/browser/io_thread_unittest.cc |
| @@ -133,6 +133,7 @@ TEST_F(IOThreadTest, EnableQuicFromFieldTrialGroup) { |
| params.quic_supported_versions); |
| EXPECT_EQ(net::QuicTagVector(), params.quic_connection_options); |
| EXPECT_FALSE(params.quic_always_require_handshake_confirmation); |
| + EXPECT_FALSE(params.quic_disable_connection_pooling); |
| } |
| TEST_F(IOThreadTest, EnableQuicFromCommandLine) { |
| @@ -331,4 +332,14 @@ TEST_F(IOThreadTest, |
| EXPECT_TRUE(params.quic_always_require_handshake_confirmation); |
| } |
| +TEST_F(IOThreadTest, |
| + QuicDisableConnectionPoolingFromFieldTrialParams) { |
| + field_trial_group_ = "Enabled"; |
| + field_trial_params_["DisableConnectionPooling"] = "true"; |
|
Ryan Hamilton
2014/09/08 17:39:15
nit: I think we've been using hacker_case for the
Jana
2014/09/08 18:49:41
Ah sorry -- this was an oversight. Done.
|
| + ConfigureQuicGlobals(); |
| + net::HttpNetworkSession::Params params; |
| + InitializeNetworkSessionParams(¶ms); |
| + EXPECT_TRUE(params.quic_disable_connection_pooling); |
| +} |
| + |
| } // namespace test |