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

Unified Diff: content/browser/download/download_item.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/download/download_item.cc
===================================================================
--- content/browser/download/download_item.cc (revision 98485)
+++ content/browser/download/download_item.cc (working copy)
@@ -152,8 +152,9 @@
const DownloadCreateInfo& info,
bool is_otr)
: state_info_(info.original_name, info.save_info.file_path,
- info.has_user_gesture, info.prompt_user_for_save_location,
- info.path_uniquifier, false, false),
+ info.has_user_gesture, info.transition_type,
+ info.prompt_user_for_save_location, info.path_uniquifier,
+ false, false),
request_handle_(info.request_handle),
download_id_(info.download_id),
full_path_(info.path),
« no previous file with comments | « content/browser/download/download_create_info.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698