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

Unified Diff: content/common/request_extra_data.h

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/browser/web_contents/web_contents_impl.cc ('k') | content/common/request_extra_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/request_extra_data.h
diff --git a/content/common/request_extra_data.h b/content/common/request_extra_data.h
index b7ca525fed24a6480e17e694f22cff6cd5701d35..7a583615e4ceb9d377b734f20a2df47d3b402801 100644
--- a/content/common/request_extra_data.h
+++ b/content/common/request_extra_data.h
@@ -21,6 +21,7 @@ class CONTENT_EXPORT RequestExtraData
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);
@@ -30,6 +31,7 @@ class CONTENT_EXPORT RequestExtraData
int64 frame_id() const { return frame_id_; }
bool parent_is_main_frame() const { return parent_is_main_frame_; }
int64 parent_frame_id() const { return parent_frame_id_; }
+ bool allow_download() const { return allow_download_; }
content::PageTransition transition_type() const { return transition_type_; }
int transferred_request_child_id() const {
return transferred_request_child_id_;
@@ -43,6 +45,7 @@ class CONTENT_EXPORT RequestExtraData
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_;
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698