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

Unified Diff: chrome/browser/io_thread.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 | « no previous file | chrome/browser/io_thread_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index e9b9e5984296d9d2c5116c490ec7d6304d2b8497..55767a73ccc42be11fb5aca1574bbc6f027d6d32 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -1025,18 +1025,6 @@ void IOThread::ConfigureSpdyGlobals(
globals->next_protos.push_back(net::kProtoQUIC1SPDY3);
}
- if (command_line.HasSwitch(switches::kEnableSpdy4)) {
- globals->next_protos.push_back(net::kProtoSPDY31);
- globals->next_protos.push_back(net::kProtoSPDY4_14);
- globals->next_protos.push_back(net::kProtoSPDY4);
- globals->use_alternate_protocols.set(true);
- return;
- }
- if (command_line.HasSwitch(switches::kEnableNpnHttpOnly)) {
- globals->use_alternate_protocols.set(false);
- return;
- }
-
// No SPDY command-line flags have been specified. Examine trial groups.
if (spdy_trial_group.starts_with(kSpdyFieldTrialHoldbackGroupNamePrefix)) {
net::HttpStreamFactory::set_spdy_enabled(false);
« no previous file with comments | « no previous file | chrome/browser/io_thread_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698