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

Unified Diff: chrome/browser/io_thread_unittest.cc

Issue 1130353003: Remove --enable-spdy4 and --enable-npn-http command line flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 de1d28643a2db83bfe238a7efeaf626d62e8d886..13b21fc6befdd6d52c09bc9172ce97928087e8d9 100644
--- a/chrome/browser/io_thread_unittest.cc
+++ b/chrome/browser/io_thread_unittest.cc
@@ -143,30 +143,6 @@ TEST_F(IOThreadTest, SpdyFieldTrialParametrized) {
EXPECT_TRUE(use_alternate_protocols);
}
-TEST_F(IOThreadTest, SpdyCommandLineEnable) {
- command_line_.AppendSwitch("enable-spdy4");
- // Command line should overwrite field trial group.
- field_trial_group_ = "SpdyDisabled";
- ConfigureSpdyGlobals();
- EXPECT_THAT(globals_.next_protos,
- ElementsAre(net::kProtoHTTP11, net::kProtoSPDY31,
- net::kProtoSPDY4_14, net::kProtoSPDY4));
- bool use_alternate_protocols = false;
- globals_.use_alternate_protocols.CopyToIfSet(&use_alternate_protocols);
- EXPECT_TRUE(use_alternate_protocols);
-}
-
-TEST_F(IOThreadTest, SpdyCommandLineDisable) {
- command_line_.AppendSwitch("enable-npn-http");
- // Command line should overwrite field trial group.
- field_trial_group_ = "Spdy4Enabled";
- ConfigureSpdyGlobals();
- EXPECT_THAT(globals_.next_protos, ElementsAre(net::kProtoHTTP11));
- bool use_alternate_protocols = true;
- globals_.use_alternate_protocols.CopyToIfSet(&use_alternate_protocols);
- EXPECT_FALSE(use_alternate_protocols);
-}
-
TEST_F(IOThreadTest, SpdyCommandLineUseSpdyOff) {
command_line_.AppendSwitchASCII("use-spdy", "off");
// Command line should overwrite field trial group.
« 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