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

Unified Diff: net/http/http_stream_factory_impl.cc

Issue 17760008: [SPDY] Enable tests for SPDY/3.1 and SPDY/4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more tests Created 7 years, 6 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
Index: net/http/http_stream_factory_impl.cc
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc
index 6c7c46b1f94e9c841df827ba1934d2bc96ecf901..a02989b1b292964700dbbf39420680b7e2b49a6f 100644
--- a/net/http/http_stream_factory_impl.cc
+++ b/net/http/http_stream_factory_impl.cc
@@ -226,7 +226,8 @@ PortAlternateProtocolPair HttpStreamFactoryImpl::GetAlternateProtocolRequestFor(
return kNoAlternateProtocol;
origin.set_port(alternate.port);
- if (alternate.protocol >= NPN_SPDY_2 && alternate.protocol <= NPN_SPDY_3) {
+ if (alternate.protocol >= NPN_SPDY_MINIMUM_VERSION &&
+ alternate.protocol <= NPN_SPDY_MAXIMUM_VERSION) {
if (!spdy_enabled())
return kNoAlternateProtocol;

Powered by Google App Engine
This is Rietveld 408576698