diff --git a/atom/browser/api/atom_api_session.cc b/atom/browser/api/atom_api_session.cc index 8e4180abaeb4..2ca8ae0e26dd 100644 --- a/atom/browser/api/atom_api_session.cc +++ b/atom/browser/api/atom_api_session.cc @@ -437,7 +437,7 @@ void DownloadIdCallback(content::DownloadManager* download_manager, last_modified, offset, length, std::string(), download::DownloadItem::INTERRUPTED, download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, - content::DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT, false, base::Time(), + download::DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT, false, base::Time(), false, std::vector()); } diff --git a/atom/browser/atom_download_manager_delegate.cc b/atom/browser/atom_download_manager_delegate.cc index 8a0cceaebd8a..83276affb18d 100644 --- a/atom/browser/atom_download_manager_delegate.cc +++ b/atom/browser/atom_download_manager_delegate.cc @@ -121,8 +121,8 @@ void AtomDownloadManagerDelegate::OnDownloadPathGenerated( // If user cancels the file save dialog, run the callback with empty FilePath. callback.Run(path, download::DownloadItem::TARGET_DISPOSITION_PROMPT, download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, path, - path.empty() ? content::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED - : content::DOWNLOAD_INTERRUPT_REASON_NONE); + path.empty() ? download::DOWNLOAD_INTERRUPT_REASON_USER_CANCELED + : download::DOWNLOAD_INTERRUPT_REASON_NONE); } void AtomDownloadManagerDelegate::Shutdown() { @@ -140,7 +140,7 @@ bool AtomDownloadManagerDelegate::DetermineDownloadTarget( download::DownloadItem::TARGET_DISPOSITION_OVERWRITE, download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, download->GetForcedFilePath(), - content::DOWNLOAD_INTERRUPT_REASON_NONE); + download::DOWNLOAD_INTERRUPT_REASON_NONE); return true; } @@ -151,7 +151,7 @@ bool AtomDownloadManagerDelegate::DetermineDownloadTarget( callback.Run(save_path, download::DownloadItem::TARGET_DISPOSITION_OVERWRITE, download::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS, - save_path, content::DOWNLOAD_INTERRUPT_REASON_NONE); + save_path, download::DOWNLOAD_INTERRUPT_REASON_NONE); return true; }