| Index: content/browser/download/download_manager_impl_unittest.cc
|
| ===================================================================
|
| --- content/browser/download/download_manager_impl_unittest.cc (revision 119906)
|
| +++ content/browser/download/download_manager_impl_unittest.cc (working copy)
|
| @@ -67,7 +67,7 @@
|
| namespace {
|
|
|
| FilePath GetTempDownloadPath(const FilePath& suggested_path) {
|
| - return DownloadFile::AppendSuffixToPath(
|
| + return file_util::AppendSuffixToPath(
|
| suggested_path, FILE_PATH_LITERAL(".temp"));
|
| }
|
|
|
| @@ -1159,10 +1159,11 @@
|
|
|
| // Construct the unique file name that normally would be created, but
|
| // which we will override.
|
| - int uniquifier = DownloadFile::GetUniquePathNumber(new_path);
|
| + int uniquifier =
|
| + file_util::GetUniquePathNumber(new_path, FILE_PATH_LITERAL(""));
|
| FilePath unique_new_path = new_path;
|
| EXPECT_NE(0, uniquifier);
|
| - DownloadFile::AppendNumberToPath(&unique_new_path, uniquifier);
|
| + file_util::AppendNumberToPath(&unique_new_path, uniquifier);
|
|
|
| // Normally, the download system takes ownership of info, and is
|
| // responsible for deleting it. In these unit tests, however, we
|
|
|