summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/io_thread_unittest.cc')
-rw-r--r--chrome/browser/io_thread_unittest.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc
index e9f25d0..9cbf7e5 100644
--- a/chrome/browser/io_thread_unittest.cc
+++ b/chrome/browser/io_thread_unittest.cc
@@ -127,7 +127,6 @@ TEST_F(IOThreadTest, EnableQuicFromFieldTrialGroup) {
net::HttpNetworkSession::Params params;
InitializeNetworkSessionParams(&params);
EXPECT_TRUE(params.enable_quic);
- EXPECT_FALSE(params.enable_quic_pacing);
EXPECT_FALSE(params.enable_quic_time_based_loss_detection);
EXPECT_EQ(1350u, params.quic_max_packet_length);
EXPECT_EQ(default_params.quic_supported_versions,
@@ -153,7 +152,9 @@ TEST_F(IOThreadTest, EnablePacingFromCommandLine) {
ConfigureQuicGlobals();
net::HttpNetworkSession::Params params;
InitializeNetworkSessionParams(&params);
- EXPECT_TRUE(params.enable_quic_pacing);
+ net::QuicTagVector options;
+ options.push_back(net::kPACE);
+ EXPECT_EQ(options, params.quic_connection_options);
}
TEST_F(IOThreadTest, EnablePacingFromFieldTrialGroup) {
@@ -162,7 +163,9 @@ TEST_F(IOThreadTest, EnablePacingFromFieldTrialGroup) {
ConfigureQuicGlobals();
net::HttpNetworkSession::Params params;
InitializeNetworkSessionParams(&params);
- EXPECT_TRUE(params.enable_quic_pacing);
+ net::QuicTagVector options;
+ options.push_back(net::kPACE);
+ EXPECT_EQ(options, params.quic_connection_options);
}
TEST_F(IOThreadTest, EnablePacingFromFieldTrialParams) {
@@ -172,7 +175,9 @@ TEST_F(IOThreadTest, EnablePacingFromFieldTrialParams) {
ConfigureQuicGlobals();
net::HttpNetworkSession::Params params;
InitializeNetworkSessionParams(&params);
- EXPECT_TRUE(params.enable_quic_pacing);
+ net::QuicTagVector options;
+ options.push_back(net::kPACE);
+ EXPECT_EQ(options, params.quic_connection_options);
}
TEST_F(IOThreadTest, EnableTimeBasedLossDetectionFromCommandLine) {