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

Unified Diff: chrome/browser/diagnostics/sqlite_diagnostics.cc

Issue 1064523002: [sql] Clients should use sql::Connection::Delete(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop unnecessary change. Created 5 years, 8 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 | « no previous file | chrome/browser/extensions/activity_log/activity_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/diagnostics/sqlite_diagnostics.cc
diff --git a/chrome/browser/diagnostics/sqlite_diagnostics.cc b/chrome/browser/diagnostics/sqlite_diagnostics.cc
index b2746227abc9a999897c28ac05fa3cc6fc17b4e5..b342bba12048aec87fe71812cfabf4b9a01960a6 100644
--- a/chrome/browser/diagnostics/sqlite_diagnostics.cc
+++ b/chrome/browser/diagnostics/sqlite_diagnostics.cc
@@ -56,7 +56,7 @@ class SqliteIntegrityTest : public DiagnosticsTest {
case DIAG_SQLITE_DB_CORRUPTED:
LOG(WARNING) << "Removing broken SQLite database: "
<< db_path_.value();
- base::DeleteFile(db_path_, false);
+ sql::Connection::Delete(db_path_);
break;
case DIAG_SQLITE_SUCCESS:
case DIAG_SQLITE_FILE_NOT_FOUND_OK:
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log/activity_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698