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

Unified Diff: content/browser/loader/resource_request_info_impl.cc

Issue 694773003: Allow URL requests for object/embed tags to be intercepted as streams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor-guest-view-container-3
Patch Set: Created 6 years, 1 month 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/browser/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index 8cae9a5c93bc3a0b6824558674256f30a5b2fe1b..8a2d23af238964d74449196fb393ec12becf1f1a 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -29,6 +29,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
int render_process_id,
int render_view_id,
int render_frame_id,
+ bool allow_download,
bool is_async) {
ResourceRequestInfoImpl* info =
new ResourceRequestInfoImpl(
@@ -46,7 +47,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
false, // should_replace_current_entry
false, // is_download
false, // is_stream
- true, // allow_download
+ allow_download, // allow_download
false, // has_user_gesture
false, // enable load timing
false, // enable upload progress

Powered by Google App Engine
This is Rietveld 408576698