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

Unified Diff: net/http/http_server_properties.cc

Issue 25977005: [SPDY] Do not advertise SPDY/2 by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 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 | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_server_properties.cc
diff --git a/net/http/http_server_properties.cc b/net/http/http_server_properties.cc
index af972dfa194b24282fe84155b527f10e5bb97a23..a10d5060c063dd67feac701138a023e0f501e772 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -38,7 +38,7 @@ bool IsAlternateProtocolValid(AlternateProtocol protocol) {
const char* AlternateProtocolToString(AlternateProtocol protocol) {
switch (protocol) {
- case NPN_SPDY_2:
+ case DEPRECATED_NPN_SPDY_2:
case NPN_SPDY_3:
case NPN_SPDY_3_1:
case NPN_SPDY_4A2:
@@ -70,8 +70,8 @@ AlternateProtocol AlternateProtocolFromString(const std::string& str) {
AlternateProtocol AlternateProtocolFromNextProto(NextProto next_proto) {
switch (next_proto) {
- case kProtoSPDY2:
- return NPN_SPDY_2;
+ case kProtoDeprecatedSPDY2:
+ return DEPRECATED_NPN_SPDY_2;
case kProtoSPDY3:
return NPN_SPDY_3;
case kProtoSPDY31:
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_server_properties_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698