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

Unified Diff: sql/connection.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
Index: sql/connection.cc
diff --git a/sql/connection.cc b/sql/connection.cc
index f2164ec395be3b2d103ab4105447ccad1f026ec8..5f76a7f3c9ea6c00d2ac268606a24f7aa505e29f 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -445,9 +445,9 @@ bool Connection::Delete(const base::FilePath& path) {
base::FilePath journal_path(path.value() + FILE_PATH_LITERAL("-journal"));
base::FilePath wal_path(path.value() + FILE_PATH_LITERAL("-wal"));
- base::Delete(journal_path, false);
- base::Delete(wal_path, false);
- base::Delete(path, false);
+ base::DeleteFile(journal_path, false);
+ base::DeleteFile(wal_path, false);
+ base::DeleteFile(path, false);
return !base::PathExists(journal_path) &&
!base::PathExists(wal_path) &&
« no previous file with comments | « remoting/host/pairing_registry_delegate_linux_unittest.cc ('k') | sync/syncable/on_disk_directory_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698