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

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: Cleanup 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 ba2e76be7369227031660b7d64e8c7b19dca6659..1c5771a025678db5f476c43bdae8581cfb0381e3 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