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

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

Issue 12212031: Add support for redirecting ResourceHandlers to a blob: URL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 7 years, 10 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/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 3c5fc49801367aa0be462e5592d7c1750e3b3d57..e51a681d4c6667a1d58ecdf0fe16432f9cd86d75 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -42,6 +42,7 @@ void ResourceRequestInfo::AllocateForTesting(
resource_type, // resource_type
PAGE_TRANSITION_LINK, // transition_type
false, // is_download
+ false, // is_stream
true, // allow_download
false, // has_user_gesture
WebKit::WebReferrerPolicyDefault, // referrer_policy
@@ -91,6 +92,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
ResourceType::Type resource_type,
PageTransition transition_type,
bool is_download,
+ bool is_stream,
bool allow_download,
bool has_user_gesture,
WebKit::WebReferrerPolicy referrer_policy,
@@ -107,6 +109,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
parent_is_main_frame_(parent_is_main_frame),
parent_frame_id_(parent_frame_id),
is_download_(is_download),
+ is_stream_(is_stream),
allow_download_(allow_download),
has_user_gesture_(has_user_gesture),
was_ignored_by_handler_(false),
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/stream_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698