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

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: Renumber LOAD_SUPPORT_ASYNC_REVALIDATION. Created 5 years, 7 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 b83bdbe20cefacea5af8554d82c713ea3a4f0edf..ff543c0424f1d7b3278d716bfd6cd919c00b0af4 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -104,6 +104,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),

Powered by Google App Engine
This is Rietveld 408576698