Index: chrome/browser/io_thread_unittest.cc |
diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc |
index 80a589d7fec4914a372114463365c06240088286..d8291cfa2ba0e8845d690e1dfb580b94f2cf7058 100644 |
--- a/chrome/browser/io_thread_unittest.cc |
+++ b/chrome/browser/io_thread_unittest.cc |
@@ -135,6 +135,7 @@ TEST_F(IOThreadTest, EnableQuicFromFieldTrialGroup) { |
EXPECT_EQ(0, params.quic_load_server_info_timeout_ms); |
EXPECT_FALSE(params.quic_disable_loading_server_info_for_new_servers); |
EXPECT_EQ(0.0f, params.quic_load_server_info_timeout_srtt_multiplier); |
+ EXPECT_FALSE(params.quic_enable_truncated_connection_ids); |
} |
TEST_F(IOThreadTest, EnableQuicFromCommandLine) { |
@@ -326,6 +327,15 @@ TEST_F(IOThreadTest, QuicLoadServerInfoTimeToSmoothedRttFromFieldTrialParams) { |
EXPECT_EQ(0.5f, params.quic_load_server_info_timeout_srtt_multiplier); |
} |
+TEST_F(IOThreadTest, QuicDisableTruncatedConnectionIds) { |
+ field_trial_group_ = "Enabled"; |
+ field_trial_params_["enable_truncated_connection_ids"] = "true"; |
+ ConfigureQuicGlobals(); |
+ net::HttpNetworkSession::Params params; |
+ InitializeNetworkSessionParams(¶ms); |
+ EXPECT_TRUE(params.quic_enable_truncated_connection_ids); |
+} |
+ |
TEST_F(IOThreadTest, |
AlternateProtocolProbabilityThresholdFromFlag) { |
command_line_.AppendSwitchASCII("alternate-protocol-probability-threshold", |