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

Unified Diff: net/http/http_response_info.h

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.h
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index 1a8f059428c481c9a31aa9432cd51528b479c81e..5ea732467ab178654f4aeb21cc7bce62aeac1e72 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -38,7 +38,7 @@ class NET_EXPORT HttpResponseInfo {
CONNECTION_INFO_DEPRECATED_SPDY2 = 2,
CONNECTION_INFO_DEPRECATED_SPDY3 = 3,
CONNECTION_INFO_HTTP2 = 4, // HTTP/2.
- CONNECTION_INFO_QUIC1_SPDY3 = 5,
+ CONNECTION_INFO_QUIC = 5,
CONNECTION_INFO_DEPRECATED_HTTP2_14 = 6, // HTTP/2 draft-14.
CONNECTION_INFO_DEPRECATED_HTTP2_15 = 7, // HTTP/2 draft-15.
CONNECTION_INFO_HTTP0_9 = 8,
@@ -90,9 +90,7 @@ class NET_EXPORT HttpResponseInfo {
bool response_truncated) const;
// Whether QUIC is used or not.
- bool DidUseQuic() const {
- return connection_info == CONNECTION_INFO_QUIC1_SPDY3;
- }
+ bool DidUseQuic() const { return connection_info == CONNECTION_INFO_QUIC; }
// The following is only defined if the request_time member is set.
// If this resource was found in the cache, then this bool is set, and

Powered by Google App Engine
This is Rietveld 408576698