Index: content/browser/download/download_create_info.cc |
=================================================================== |
--- content/browser/download/download_create_info.cc (revision 98485) |
+++ content/browser/download/download_create_info.cc (working copy) |
@@ -16,7 +16,8 @@ |
int64 total_bytes, |
int32 state, |
int32 download_id, |
- bool has_user_gesture) |
+ bool has_user_gesture, |
+ PageTransition::Type transition_type) |
: path(path), |
url_chain(1, url), |
path_uniquifier(0), |
@@ -26,6 +27,7 @@ |
state(state), |
download_id(download_id), |
has_user_gesture(has_user_gesture), |
+ transition_type(transition_type), |
db_handle(0), |
prompt_user_for_save_location(false) { |
} |
@@ -37,6 +39,7 @@ |
state(-1), |
download_id(-1), |
has_user_gesture(false), |
+ transition_type(PageTransition::LINK), |
db_handle(0), |
prompt_user_for_save_location(false) { |
} |