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

Unified Diff: content/child/resource_dispatcher.cc

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/child/request_extra_data.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 55d0250cd17c7802c27fd0b7893e0b92ce71e186..3b7e7b8c212a5c5d7604b9e00034bfa4dd4532ad 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -871,6 +871,8 @@ std::unique_ptr<ResourceRequest> ResourceDispatcher::CreateRequest(
request->resource_body_stream_url = request_info.resource_body_stream_url;
request->initiated_in_secure_context =
extra_data->initiated_in_secure_context();
+ request->download_to_network_cache_only =
+ extra_data->download_to_network_cache_only();
if (frame_origin)
*frame_origin = extra_data->frame_origin();
return request;
« no previous file with comments | « content/child/request_extra_data.cc ('k') | content/child/web_url_request_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698