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

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 WebDocument api Created 4 years, 3 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 | « content/common/resource_messages.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/resource_request.h
diff --git a/content/common/resource_request.h b/content/common/resource_request.h
index 83263cc5c1ccd40cdbae11011e65143a32e1fd3d..f92e2d35bd882c0360bc859a7b2528d4dbf9ac62 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 not
+ // sent back to the renderer.
+ bool download_to_network_cache_only = false;
};
} // namespace content
« no previous file with comments | « content/common/resource_messages.h ('k') | content/public/renderer/content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698