| Index: content/shell/browser/shell_download_manager_delegate.cc
|
| diff --git a/content/shell/browser/shell_download_manager_delegate.cc b/content/shell/browser/shell_download_manager_delegate.cc
|
| index da4978ee419b25a575927c51f776f27cbc8e0e3b..3a68c207831d723a263a4c9875134f33ece7dc56 100644
|
| --- a/content/shell/browser/shell_download_manager_delegate.cc
|
| +++ b/content/shell/browser/shell_download_manager_delegate.cc
|
| @@ -71,7 +71,8 @@ bool ShellDownloadManagerDelegate::DetermineDownloadTarget(
|
| callback.Run(download->GetForcedFilePath(),
|
| DownloadItem::TARGET_DISPOSITION_OVERWRITE,
|
| DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS,
|
| - download->GetForcedFilePath());
|
| + download->GetForcedFilePath(),
|
| + false);
|
| return true;
|
| }
|
|
|
| @@ -139,7 +140,8 @@ void ShellDownloadManagerDelegate::OnDownloadPathGenerated(
|
| // Testing exit.
|
| callback.Run(suggested_path, DownloadItem::TARGET_DISPOSITION_OVERWRITE,
|
| DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS,
|
| - suggested_path.AddExtension(FILE_PATH_LITERAL(".crdownload")));
|
| + suggested_path.AddExtension(FILE_PATH_LITERAL(".crdownload")),
|
| + false);
|
| return;
|
| }
|
|
|
| @@ -183,7 +185,7 @@ void ShellDownloadManagerDelegate::ChooseDownloadPath(
|
| #endif
|
|
|
| callback.Run(result, DownloadItem::TARGET_DISPOSITION_PROMPT,
|
| - DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, result);
|
| + DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, result, false);
|
| }
|
|
|
| void ShellDownloadManagerDelegate::SetDownloadBehaviorForTesting(
|
|
|