| Index: chrome/browser/download/download_target_determiner.cc
|
| diff --git a/chrome/browser/download/download_target_determiner.cc b/chrome/browser/download/download_target_determiner.cc
|
| index f077cae959b53d955f24572367416098d83e08c6..caf1083c83c2e3415d404b55ec3a3fb7f0ebd39d 100644
|
| --- a/chrome/browser/download/download_target_determiner.cc
|
| +++ b/chrome/browser/download/download_target_determiner.cc
|
| @@ -427,7 +427,7 @@ DownloadTargetDeterminer::Result
|
|
|
| // Other safe downloads get a .crdownload suffix for their intermediate name.
|
| if (danger_type_ == content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS) {
|
| - intermediate_path_ = download_util::GetCrDownloadPath(local_path_);
|
| + intermediate_path_ = GetCrDownloadPath(local_path_);
|
| return COMPLETE;
|
| }
|
|
|
| @@ -594,3 +594,10 @@ void DownloadTargetDeterminer::Start(
|
| new DownloadTargetDeterminer(download, download_prefs,
|
| last_selected_directory, delegate, callback);
|
| }
|
| +
|
| +// static
|
| +base::FilePath DownloadTargetDeterminer::GetCrDownloadPath(
|
| + const base::FilePath& suggested_path) {
|
| + return base::FilePath(suggested_path.value() +
|
| + FILE_PATH_LITERAL(".crdownload"));
|
| +}
|
|
|