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

Unified Diff: net/http/http_response_info.cc

Issue 2365243004: QUIC/1+SPYD/3 => QUIC (Closed)
Patch Set: Rebase. Created 4 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
Index: net/http/http_response_info.cc
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc
index 2adfe692c6f5050ce0d08a4341b998d1f250fa13..e5602f5899a9f8f75830c245db6c4f23d95fa951 100644
--- a/net/http/http_response_info.cc
+++ b/net/http/http_response_info.cc
@@ -426,8 +426,8 @@ HttpResponseInfo::ConnectionInfo HttpResponseInfo::ConnectionInfoFromNextProto(
switch (next_proto) {
case kProtoHTTP2:
return CONNECTION_INFO_HTTP2;
- case kProtoQUIC1SPDY3:
- return CONNECTION_INFO_QUIC1_SPDY3;
+ case kProtoQUIC:
+ return CONNECTION_INFO_QUIC;
case kProtoUnknown:
case kProtoHTTP11:
@@ -459,7 +459,7 @@ std::string HttpResponseInfo::ConnectionInfoToString(
case CONNECTION_INFO_DEPRECATED_HTTP2_15:
case CONNECTION_INFO_HTTP2:
return "h2";
- case CONNECTION_INFO_QUIC1_SPDY3:
+ case CONNECTION_INFO_QUIC:
return "quic/1+spdy/3";
Ryan Hamilton 2016/10/19 23:07:52 And of course we should fix this once we get conse
Bence 2016/10/20 12:22:50 Acknowledged.
case CONNECTION_INFO_HTTP0_9:
return "http/0.9";

Powered by Google App Engine
This is Rietveld 408576698