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

Unified Diff: chrome/browser/io_thread_unittest.cc

Issue 2822053002: Remove unused "Disable remote Alt-Svc" QUIC experiment code. (Closed)
Patch Set: network_session_configurator_unittest.cc Created 3 years, 8 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 | « no previous file | components/network_session_configurator/network_session_configurator.cc » ('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 48be0096139dd8b63267ae5b3f558c88f6025356..a3b88eb6dbecb76608396166749d3c3e181a42f5 100644
--- a/chrome/browser/io_thread_unittest.cc
+++ b/chrome/browser/io_thread_unittest.cc
@@ -271,7 +271,6 @@ TEST_F(ConfigureParamsFromFieldTrialsAndCommandLineTest, Default) {
EXPECT_TRUE(params_.enable_http2);
EXPECT_FALSE(params_.enable_quic);
- EXPECT_TRUE(params_.enable_quic_alternative_service_with_different_host);
EXPECT_EQ(1350u, params_.quic_max_packet_length);
EXPECT_EQ(net::QuicTagVector(), params_.quic_connection_options);
EXPECT_TRUE(params_.origins_to_force_quic_on.empty());
@@ -322,27 +321,6 @@ TEST_F(ConfigureParamsFromFieldTrialsAndCommandLineTest,
}
TEST_F(ConfigureParamsFromFieldTrialsAndCommandLineTest,
- EnableAlternativeServicesFromCommandLineWithQuicDisabled) {
- command_line_.AppendSwitch("enable-alternative-services");
-
- ConfigureParamsFromFieldTrialsAndCommandLine();
-
- EXPECT_FALSE(params_.enable_quic);
- EXPECT_TRUE(params_.enable_quic_alternative_service_with_different_host);
-}
-
-TEST_F(ConfigureParamsFromFieldTrialsAndCommandLineTest,
- EnableAlternativeServicesFromCommandLineWithQuicEnabled) {
- command_line_.AppendSwitch("enable-quic");
- command_line_.AppendSwitch("enable-alternative-services");
-
- ConfigureParamsFromFieldTrialsAndCommandLine();
-
- EXPECT_TRUE(params_.enable_quic);
- EXPECT_TRUE(params_.enable_quic_alternative_service_with_different_host);
-}
-
-TEST_F(ConfigureParamsFromFieldTrialsAndCommandLineTest,
QuicVersionFromCommandLine) {
command_line_.AppendSwitch("enable-quic");
std::string version =
« no previous file with comments | « no previous file | components/network_session_configurator/network_session_configurator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698