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..e764b3b0ca8cf4f4449c3718b6f824d2ac982dde 100644 |
--- a/chrome/browser/io_thread_unittest.cc |
+++ b/chrome/browser/io_thread_unittest.cc |
@@ -320,4 +320,16 @@ 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; |
+ EXPECT_FALSE(params.quic_always_require_handshake_confirmation); |
Ryan Hamilton
2014/09/02 19:28:22
I would move this line to the test EnableQuicFromF
Jana
2014/09/02 20:58:15
Done.
|
+ InitializeNetworkSessionParams(¶ms); |
+ EXPECT_TRUE(params.quic_always_require_handshake_confirmation); |
+} |
+ |
} // namespace test |