Index: content/browser/download/download_state_info.h |
=================================================================== |
--- content/browser/download/download_state_info.h (revision 98485) |
+++ content/browser/download/download_state_info.h (working copy) |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "base/file_path.h" |
+#include "content/common/page_transition_types.h" |
// Contains information relating to the process of determining what to do with |
// the download. |
@@ -17,6 +18,7 @@ |
DownloadStateInfo(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, |
@@ -39,6 +41,8 @@ |
// True if the download is the result of user action. |
bool has_user_gesture; |
+ PageTransition::Type transition_type; |
+ |
// True if we should display the 'save as...' UI and prompt the user |
// for the download location. |
// False if the UI should be suppressed and the download performed to the |