Index: content/browser/download/download_state_info.cc |
=================================================================== |
--- content/browser/download/download_state_info.cc (revision 98485) |
+++ content/browser/download/download_state_info.cc (working copy) |
@@ -9,6 +9,7 @@ |
DownloadStateInfo::DownloadStateInfo() |
: path_uniquifier(0), |
has_user_gesture(false), |
+ transition_type(PageTransition::LINK), |
prompt_user_for_save_location(false), |
is_dangerous_file(false), |
is_dangerous_url(false) { |
@@ -19,6 +20,7 @@ |
bool prompt_user_for_save_location) |
: path_uniquifier(0), |
has_user_gesture(has_user_gesture), |
+ transition_type(PageTransition::LINK), |
prompt_user_for_save_location(prompt_user_for_save_location), |
is_dangerous_file(false), |
is_dangerous_url(false) { |
@@ -28,6 +30,7 @@ |
const FilePath& target, |
const FilePath& forced_name, |
bool has_user_gesture, |
+ PageTransition::Type transition_type, |
bool prompt_user_for_save_location, |
int uniquifier, |
bool dangerous_file, |
@@ -35,6 +38,7 @@ |
: target_name(target), |
path_uniquifier(uniquifier), |
has_user_gesture(has_user_gesture), |
+ transition_type(transition_type), |
prompt_user_for_save_location(prompt_user_for_save_location), |
is_dangerous_file(dangerous_file), |
is_dangerous_url(dangerous_url), |