| Index: chrome/browser/download/chrome_download_manager_delegate.cc
|
| diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
|
| index 2a999482d93f0be4fc27f0351ecd49ff4a0f3e6d..2ba7b84b4096b2159b0fe431723cdffab75d6418 100644
|
| --- a/chrome/browser/download/chrome_download_manager_delegate.cc
|
| +++ b/chrome/browser/download/chrome_download_manager_delegate.cc
|
| @@ -101,8 +101,9 @@ enum PlatformDownloadPathType {
|
| PLATFORM_CURRENT_PATH
|
| };
|
|
|
| -// Returns a path in the form that that is expected by platform_util::OpenItem /
|
| -// platform_util::ShowItemInFolder / DownloadTargetDeterminer.
|
| +// Returns a path in the form that that is expected by platform_util::OpenFile /
|
| +// platform_util::OpenFolder / platform_util::ShowItemInFolder /
|
| +// DownloadTargetDeterminer.
|
| //
|
| // DownloadItems corresponding to Drive downloads use a temporary file as the
|
| // target path. The paths returned by DownloadItem::GetFullPath() /
|
| @@ -428,7 +429,8 @@ void ChromeDownloadManagerDelegate::OpenDownloadUsingPlatformHandler(
|
| base::FilePath platform_path(
|
| GetPlatformDownloadPath(profile_, download, PLATFORM_TARGET_PATH));
|
| DCHECK(!platform_path.empty());
|
| - platform_util::OpenItem(profile_, platform_path);
|
| + platform_util::OpenFile(profile_, platform_path,
|
| + platform_util::OpenOperationCallback());
|
| }
|
|
|
| void ChromeDownloadManagerDelegate::OpenDownload(DownloadItem* download) {
|
|
|