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

Unified Diff: content/common/request_extra_data.cc

Issue 9808029: Prepending view-source: does not load the source of the userscript. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: allow_download_(true) Created 8 years, 8 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
« no previous file with comments | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/request_extra_data.cc
diff --git a/content/common/request_extra_data.cc b/content/common/request_extra_data.cc
index ab9ee914f3ecfb9474d33768abcbba7b1c02995e..185590b7830c526f751c1567864ac979ed4c84da 100644
--- a/content/common/request_extra_data.cc
+++ b/content/common/request_extra_data.cc
@@ -11,6 +11,7 @@ RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
int64 frame_id,
bool parent_is_main_frame,
int64 parent_frame_id,
+ bool allow_download,
content::PageTransition transition_type,
int transferred_request_child_id,
int transferred_request_request_id)
@@ -19,6 +20,7 @@ RequestExtraData::RequestExtraData(WebReferrerPolicy referrer_policy,
frame_id_(frame_id),
parent_is_main_frame_(parent_is_main_frame),
parent_frame_id_(parent_frame_id),
+ allow_download_(allow_download),
transition_type_(transition_type),
transferred_request_child_id_(transferred_request_child_id),
transferred_request_request_id_(transferred_request_request_id) {
« no previous file with comments | « content/common/request_extra_data.h ('k') | content/common/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698