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

Unified Diff: net/http/http_response_info.cc

Issue 1039263002: //net changes for stale-while-revalidate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@s-w-r-remove-old-impl
Patch Set: Changes suggested by rvargas. Created 5 years, 4 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_response_info.h ('k') | net/http/http_response_info_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_info.cc
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc
index dbfb62e11bbda18243377e7e18256920cc887b67..c6be3e65a4fc86847db36f9e92b35bb14ece3cdf 100644
--- a/net/http/http_response_info.cc
+++ b/net/http/http_response_info.cc
@@ -106,8 +106,8 @@ HttpResponseInfo::HttpResponseInfo()
was_fetched_via_proxy(false),
did_use_http_auth(false),
unused_since_prefetch(false),
- connection_info(CONNECTION_INFO_UNKNOWN) {
-}
+ async_revalidation_required(false),
+ connection_info(CONNECTION_INFO_UNKNOWN) {}
HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs)
: was_cached(rhs.was_cached),
@@ -119,6 +119,7 @@ HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs)
proxy_server(rhs.proxy_server),
did_use_http_auth(rhs.did_use_http_auth),
unused_since_prefetch(rhs.unused_since_prefetch),
+ async_revalidation_required(rhs.async_revalidation_required),
socket_address(rhs.socket_address),
npn_negotiated_protocol(rhs.npn_negotiated_protocol),
connection_info(rhs.connection_info),
@@ -129,8 +130,7 @@ HttpResponseInfo::HttpResponseInfo(const HttpResponseInfo& rhs)
ssl_info(rhs.ssl_info),
headers(rhs.headers),
vary_data(rhs.vary_data),
- metadata(rhs.metadata) {
-}
+ metadata(rhs.metadata) {}
HttpResponseInfo::~HttpResponseInfo() {
}
@@ -145,6 +145,7 @@ HttpResponseInfo& HttpResponseInfo::operator=(const HttpResponseInfo& rhs) {
was_fetched_via_proxy = rhs.was_fetched_via_proxy;
did_use_http_auth = rhs.did_use_http_auth;
unused_since_prefetch = rhs.unused_since_prefetch;
+ async_revalidation_required = rhs.async_revalidation_required;
socket_address = rhs.socket_address;
npn_negotiated_protocol = rhs.npn_negotiated_protocol;
connection_info = rhs.connection_info;
« no previous file with comments | « net/http/http_response_info.h ('k') | net/http/http_response_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698