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

Unified Diff: sql/connection.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 e99b6bc53dacb8f0ab2569d5d6eb01245446be93..a11bc72893481a19018c3970cdb8f489dd6217b7 100644
--- a/sql/connection.cc
+++ b/sql/connection.cc
@@ -394,9 +394,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"));
- file_util::Delete(journal_path, false);
- file_util::Delete(wal_path, false);
- file_util::Delete(path, false);
+ base::Delete(journal_path, false);
+ base::Delete(wal_path, false);
+ base::Delete(path, false);
return !file_util::PathExists(journal_path) &&
!file_util::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