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

Unified Diff: net/http/http_response_info.h

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_cache_unittest.cc ('k') | net/http/http_response_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_info.h
diff --git a/net/http/http_response_info.h b/net/http/http_response_info.h
index 1ce64f82698bb0b43703916b47011a5f7b0f1022..dd1b3da351e39e4d88710845d416bf2e6993f416 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -106,6 +106,11 @@ class NET_EXPORT HttpResponseInfo {
// used since.
bool unused_since_prefetch;
+ // True if this resource is stale and requires async revalidation.
+ // This value is not persisted by Persist(); it is only ever set when the
+ // response is retrieved from the cache.
+ bool async_revalidation_required;
+
// Remote address of the socket which fetched this resource.
//
// NOTE: If the response was served from the cache (was_cached is true),
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698