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

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
« no previous file with comments | « content/browser/loader/resource_loader_unittest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3b227ea97bbe6e715d1e32dd99960e3b6f749076..72f09f1c627407a5576fa40b2f7730b6a30f01b9 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -31,6 +31,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
int render_frame_id,
bool is_main_frame,
bool parent_is_main_frame,
+ bool allow_download,
bool is_async) {
// Make sure both |is_main_frame| and |parent_is_main_frame| aren't set at the
// same time.
@@ -56,7 +57,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
« no previous file with comments | « content/browser/loader/resource_loader_unittest.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698