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

Unified Diff: net/http/http_network_layer.cc

Issue 377063002: Revert of Add a probability to Alternate-Protocol support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/common/chrome_switches.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer.cc
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index 258555f535ad2deae82364ae7d42290b77634b14..0704de420de32d29349e8e6d50f311387a362db3 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -51,7 +51,9 @@
// static
void HttpNetworkLayer::ForceAlternateProtocol() {
- AlternateProtocolInfo pair(443, NPN_SPDY_3, 1);
+ PortAlternateProtocolPair pair;
+ pair.port = 443;
+ pair.protocol = NPN_SPDY_3;
HttpServerPropertiesImpl::ForceAlternateProtocol(pair);
}
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698