Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: chrome/browser/io_thread_unittest.cc

Issue 2019933002: Enable AltSvc pooling by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread_unittest.cc
diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc
index a26113ac16364440062b33668ca2a1bac7191540..bafd571ab73dbc6d0824fe788576b6fced2aee42 100644
--- a/chrome/browser/io_thread_unittest.cc
+++ b/chrome/browser/io_thread_unittest.cc
@@ -91,7 +91,7 @@ TEST_F(NetworkSessionConfiguratorTest, Defaults) {
EXPECT_TRUE(params_.enable_http2);
EXPECT_FALSE(params_.enable_tcp_fast_open_for_ssl);
EXPECT_TRUE(params_.parse_alternative_services);
- EXPECT_FALSE(params_.enable_alternative_service_with_different_host);
+ EXPECT_TRUE(params_.enable_alternative_service_with_different_host);
EXPECT_FALSE(params_.enable_npn);
EXPECT_TRUE(params_.enable_priority_dependencies);
EXPECT_FALSE(params_.enable_quic);
@@ -124,7 +124,7 @@ TEST_F(NetworkSessionConfiguratorTest, AltSvcFieldTrialEnabled) {
ParseFieldTrials();
EXPECT_TRUE(params_.parse_alternative_services);
- EXPECT_FALSE(params_.enable_alternative_service_with_different_host);
+ EXPECT_TRUE(params_.enable_alternative_service_with_different_host);
}
TEST_F(NetworkSessionConfiguratorTest, AltSvcFieldTrialDisabled) {
@@ -133,7 +133,7 @@ TEST_F(NetworkSessionConfiguratorTest, AltSvcFieldTrialDisabled) {
ParseFieldTrials();
EXPECT_FALSE(params_.parse_alternative_services);
- EXPECT_FALSE(params_.enable_alternative_service_with_different_host);
+ EXPECT_TRUE(params_.enable_alternative_service_with_different_host);
}
TEST_F(NetworkSessionConfiguratorTest, SpdyFieldTrialHoldbackEnabled) {
@@ -248,7 +248,7 @@ TEST_F(NetworkSessionConfiguratorTest, EnableQuicFromFieldTrialGroup) {
EXPECT_FALSE(params_.quic_disable_disk_cache);
EXPECT_FALSE(params_.quic_prefer_aes);
EXPECT_TRUE(params_.parse_alternative_services);
- EXPECT_FALSE(params_.enable_alternative_service_with_different_host);
+ EXPECT_TRUE(params_.enable_alternative_service_with_different_host);
EXPECT_EQ(0, params_.quic_max_number_of_lossy_connections);
EXPECT_EQ(1.0f, params_.quic_packet_loss_threshold);
EXPECT_TRUE(params_.quic_delay_tcp_race);
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698