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

Unified Diff: trunk/src/chrome/browser/io_thread.cc

Issue 75413007: Revert 234959 "[SPDY] Reenable SPDY/2 for M32" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | trunk/src/chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/io_thread.cc
===================================================================
--- trunk/src/chrome/browser/io_thread.cc (revision 235897)
+++ trunk/src/chrome/browser/io_thread.cc (working copy)
@@ -733,8 +733,8 @@
net::HttpStreamFactory::EnableNpnSpdy4a2();
} else if (command_line.HasSwitch(switches::kDisableSpdy31)) {
net::HttpStreamFactory::EnableNpnSpdy3();
- } else if (command_line.HasSwitch(switches::kDisableSpdy2)) {
- net::HttpStreamFactory::EnableNpnSpdy31();
+ } else if (command_line.HasSwitch(switches::kEnableSpdy2)) {
+ net::HttpStreamFactory::EnableNpnSpdy31WithSpdy2();
} else if (command_line.HasSwitch(switches::kEnableNpnHttpOnly)) {
net::HttpStreamFactory::EnableNpnHttpOnly();
} else {
@@ -743,10 +743,7 @@
net::HttpStreamFactory::set_spdy_enabled(false);
} else {
// Use SPDY/3.1 by default.
- //
- // TODO(akalin): Turn off SPDY/2 by default
- // (http://crbug.com/318651).
- net::HttpStreamFactory::EnableNpnSpdy31WithSpdy2();
+ net::HttpStreamFactory::EnableNpnSpdy31();
}
}
}
« no previous file with comments | « no previous file | trunk/src/chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698