Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 649d1967b74bc723c38e7f2f1063c0de4fb91199..c2cc6faf6ad1a72d840a22eb9ce31331e73a1bd9 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -268,7 +268,7 @@ void TestingProfile::CreateTempProfileDir() { |
base::FilePath fallback_dir( |
system_tmp_dir.AppendASCII("TestingProfilePath")); |
- base::Delete(fallback_dir, true); |
+ base::DeleteFile(fallback_dir, true); |
file_util::CreateDirectory(fallback_dir); |
if (!temp_dir_.Set(fallback_dir)) { |
// That shouldn't happen, but if it does, try to recover. |
@@ -359,7 +359,7 @@ void TestingProfile::CreateHistoryService(bool delete_file, bool no_db) { |
if (delete_file) { |
base::FilePath path = GetPath(); |
path = path.Append(chrome::kHistoryFilename); |
- base::Delete(path, false); |
+ base::DeleteFile(path, false); |
} |
// This will create and init the history service. |
HistoryService* history_service = static_cast<HistoryService*>( |
@@ -428,7 +428,7 @@ static BrowserContextKeyedService* BuildBookmarkModel( |
void TestingProfile::CreateBookmarkModel(bool delete_file) { |
if (delete_file) { |
base::FilePath path = GetPath().Append(chrome::kBookmarksFileName); |
- base::Delete(path, false); |
+ base::DeleteFile(path, false); |
} |
// This will create a bookmark model. |
BookmarkModel* bookmark_service = static_cast<BookmarkModel*>( |