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

Unified Diff: net/http/http_response_info.h

Issue 793823002: Let prefetched resources skip cache revalidation once for a short duration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS4 Created 5 years, 11 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 df3e3004d62185b9d00b55182643234c90582a09..a7a35f93ef3e61157748870a5173afa838d2e68f 100644
--- a/net/http/http_response_info.h
+++ b/net/http/http_response_info.h
@@ -95,6 +95,10 @@ class NET_EXPORT HttpResponseInfo {
// Whether the request use http proxy or server authentication.
bool did_use_http_auth;
+ // True if the resource was originally fetched for a prefetch and has not been
+ // used since.
+ bool unused_since_prefetch;
+
// 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