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

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 97032)
+++ content/browser/download/download_item.cc (working copy)
@@ -153,9 +153,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.is_extension_install),
+ info.has_user_gesture, info.transition_type,
+ info.prompt_user_for_save_location, info.path_uniquifier,
+ false, false, info.is_extension_install),
request_handle_(info.request_handle),
download_id_(info.download_id),
full_path_(info.path),

Powered by Google App Engine
This is Rietveld 408576698