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

Unified Diff: net/http/http_server_properties.cc

Issue 13190010: Switch the QUIC alternate protocol string from "quic/1" to "quic", since QUIC can do its own versio… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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_stream_factory.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 34d1617765b95ea634d0b2041c1542841cbab46f..9758b23f90640dba0617ea816520b3fe34976784 100644
--- a/net/http/http_server_properties.cc
+++ b/net/http/http_server_properties.cc
@@ -17,7 +17,7 @@ const char* const kAlternateProtocolStrings[] = {
"npn-spdy/2",
"npn-spdy/3",
"npn-spdy/3.1",
- "quic/1"
+ "quic"
};
const char kBrokenAlternateProtocol[] = "Broken";
@@ -26,7 +26,7 @@ const char* AlternateProtocolToString(AlternateProtocol protocol) {
case NPN_SPDY_1:
case NPN_SPDY_2:
case NPN_SPDY_3:
- case QUIC_1:
+ case QUIC:
DCHECK_LT(static_cast<size_t>(protocol),
arraysize(kAlternateProtocolStrings));
return kAlternateProtocolStrings[protocol];
« no previous file with comments | « net/http/http_server_properties.h ('k') | net/http/http_stream_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698