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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_request_info.cc

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/renderer_host/resource_dispatcher_host_request_info.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_request_info.cc (revision 98485)
+++ content/browser/renderer_host/resource_dispatcher_host_request_info.cc (working copy)
@@ -19,6 +19,7 @@
bool is_main_frame,
int64 frame_id,
ResourceType::Type resource_type,
+ PageTransition::Type transition_type,
uint64 upload_size,
bool is_download,
bool allow_download,
@@ -39,6 +40,7 @@
has_user_gesture_(has_user_gesture),
pause_count_(0),
resource_type_(resource_type),
+ transition_type_(transition_type),
upload_size_(upload_size),
last_upload_position_(0),
waiting_for_upload_progress_ack_(false),

Powered by Google App Engine
This is Rietveld 408576698