| Index: content/browser/download/download_state_info.cc
|
| diff --git a/content/browser/download/download_state_info.cc b/content/browser/download/download_state_info.cc
|
| index dd26812317dfbef49c74439ff061fe6e1d52b3c9..92c792fdd209220a2c99b30f256c5d52cb3e1ffc 100644
|
| --- a/content/browser/download/download_state_info.cc
|
| +++ b/content/browser/download/download_state_info.cc
|
| @@ -14,25 +14,12 @@ DownloadStateInfo::DownloadStateInfo()
|
| danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
|
| }
|
|
|
| -DownloadStateInfo::DownloadStateInfo(
|
| - bool has_user_gesture,
|
| - bool prompt_user_for_save_location)
|
| +DownloadStateInfo::DownloadStateInfo(const FilePath& forced_name,
|
| + bool has_user_gesture,
|
| + content::PageTransition transition_type,
|
| + bool prompt_user_for_save_location)
|
| : path_uniquifier(0),
|
| has_user_gesture(has_user_gesture),
|
| - transition_type(content::PAGE_TRANSITION_LINK),
|
| - prompt_user_for_save_location(prompt_user_for_save_location),
|
| - danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
|
| -}
|
| -
|
| -DownloadStateInfo::DownloadStateInfo(
|
| - const FilePath& target,
|
| - const FilePath& forced_name,
|
| - bool has_user_gesture,
|
| - content::PageTransition transition_type,
|
| - bool prompt_user_for_save_location)
|
| - : target_name(target),
|
| - path_uniquifier(0),
|
| - has_user_gesture(has_user_gesture),
|
| transition_type(transition_type),
|
| prompt_user_for_save_location(prompt_user_for_save_location),
|
| danger(content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS),
|
|
|