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 |