| Index: chrome/browser/io_thread_unittest.cc
|
| diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc
|
| index 9cbf7e50612d144c41f7be5106e5125ae370d119..173ff58bc6aa6287766774d1afc402d7aedcde56 100644
|
| --- a/chrome/browser/io_thread_unittest.cc
|
| +++ b/chrome/browser/io_thread_unittest.cc
|
| @@ -132,6 +132,7 @@ TEST_F(IOThreadTest, EnableQuicFromFieldTrialGroup) {
|
| EXPECT_EQ(default_params.quic_supported_versions,
|
| params.quic_supported_versions);
|
| EXPECT_EQ(net::QuicTagVector(), params.quic_connection_options);
|
| + EXPECT_FALSE(params.quic_always_require_handshake_confirmation);
|
| }
|
|
|
| TEST_F(IOThreadTest, EnableQuicFromCommandLine) {
|
| @@ -320,4 +321,14 @@ TEST_F(IOThreadTest, QuicConnectionOptionsFromDeprecatedFieldTrialParams) {
|
| EXPECT_EQ(options, params.quic_connection_options);
|
| }
|
|
|
| +TEST_F(IOThreadTest,
|
| + QuicAlwaysRequireHandshakeConfirmationFromFieldTrialParams) {
|
| + field_trial_group_ = "Enabled";
|
| + field_trial_params_["always_require_handshake_confirmation"] = "true";
|
| + ConfigureQuicGlobals();
|
| + net::HttpNetworkSession::Params params;
|
| + InitializeNetworkSessionParams(¶ms);
|
| + EXPECT_TRUE(params.quic_always_require_handshake_confirmation);
|
| +}
|
| +
|
| } // namespace test
|
|
|