| 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..252474a91571285a970715c0dad3a3e02fafa025 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_["disable_connection_pooling"] = "true";
|
| + ConfigureQuicGlobals();
|
| + net::HttpNetworkSession::Params params;
|
| + InitializeNetworkSessionParams(¶ms);
|
| + EXPECT_TRUE(params.quic_disable_connection_pooling);
|
| +}
|
| +
|
| } // namespace test
|
|
|