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

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 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/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 36ea936369c17a39cf5ae05e8eedaa17d60bdfae..1b9948bef8f76bb97a87bb34b278f3ba2e395198 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;

Powered by Google App Engine
This is Rietveld 408576698