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

Unified Diff: content/common/resource_request.h

Issue 2262183002: [NoStatePrefetch] Do not send responses to renderer in prefetch mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefetchProto
Patch Set: remove TODO Created 4 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
Index: content/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index 83263cc5c1ccd40cdbae11011e65143a32e1fd3d..c2ce42661c008137804fc5249188bc2fcb99a946 100644
--- a/content/common/resource_request.h
+++ b/content/common/resource_request.h
@@ -173,6 +173,10 @@ struct CONTENT_EXPORT ResourceRequest {
// Wether or not the initiator of this request is a secure context.
bool initiated_in_secure_context = false;
+
+ // The response should be downloaded and stored in the network cache, but the
clamy 2016/08/30 18:16:13 nit: remove unneeded the
droger 2016/09/01 09:37:32 Done.
+ // not sent back to the renderer.
+ bool download_to_network_cache_only = false;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698