Index: content/browser/download/download_file_manager_unittest.cc |
=================================================================== |
--- content/browser/download/download_file_manager_unittest.cc (revision 119906) |
+++ content/browser/download/download_file_manager_unittest.cc (working copy) |
@@ -295,9 +295,10 @@ |
int uniquifier = 0; |
if (is_complete && !replace) { |
- uniquifier = content::DownloadFile::GetUniquePathNumber(new_path); |
+ uniquifier = |
+ file_util::GetUniquePathNumber(new_path, FILE_PATH_LITERAL("")); |
if (uniquifier > 0) |
- content::DownloadFile::AppendNumberToPath(&unique_path, uniquifier); |
+ file_util::AppendNumberToPath(&unique_path, uniquifier); |
} |
EXPECT_CALL(*file, Rename(unique_path)) |