Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1052)

Unified Diff: sync/syncable/syncable_unittest.cc

Issue 18584011: Rename base::Delete to base::DeleteFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/syncable/on_disk_directory_backing_store.cc ('k') | third_party/leveldatabase/env_chromium.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/syncable_unittest.cc
diff --git a/sync/syncable/syncable_unittest.cc b/sync/syncable/syncable_unittest.cc
index 0ce1fd2cb45541f06d743f2a80f8385738ee3458..854bb2d1996c26ef31a08a0143c5ebf0896d2710 100644
--- a/sync/syncable/syncable_unittest.cc
+++ b/sync/syncable/syncable_unittest.cc
@@ -1669,7 +1669,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
file_path_ = temp_dir_.path().Append(
FILE_PATH_LITERAL("Test.sqlite3"));
- base::Delete(file_path_, true);
+ base::DeleteFile(file_path_, true);
CreateDirectory();
}
@@ -1677,7 +1677,7 @@ class OnDiskSyncableDirectoryTest : public SyncableDirectoryTest {
// This also closes file handles.
dir_->SaveChanges();
dir_.reset();
- base::Delete(file_path_, true);
+ base::DeleteFile(file_path_, true);
}
// Creates a new directory. Deletes the old directory, if it exists.
@@ -2125,7 +2125,7 @@ TEST_F(SyncableDirectoryManagement, TestFileRelease) {
dir.Close();
// Closing the directory should have released the backing database file.
- ASSERT_TRUE(base::Delete(path, true));
+ ASSERT_TRUE(base::DeleteFile(path, true));
}
class StressTransactionsDelegate : public base::PlatformThread::Delegate {
« no previous file with comments | « sync/syncable/on_disk_directory_backing_store.cc ('k') | third_party/leveldatabase/env_chromium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698