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

Unified Diff: components/password_manager/core/browser/login_database_unittest.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
Index: components/password_manager/core/browser/login_database_unittest.cc
diff --git a/components/password_manager/core/browser/login_database_unittest.cc b/components/password_manager/core/browser/login_database_unittest.cc
index e9b8732966e8613a6cd2f7b3b4e2e4cc6583d3b8..c45cc5f40aed23079159ebddbf9f3d7ec990ad61 100644
--- a/components/password_manager/core/browser/login_database_unittest.cc
+++ b/components/password_manager/core/browser/login_database_unittest.cc
@@ -1141,7 +1141,7 @@ class LoginDatabaseMigrationTest : public testing::TestWithParam<int> {
void DestroyDatabase() {
if (!database_path_.empty())
- base::DeleteFile(database_path_, false);
+ sql::Connection::Delete(database_path_);
}
// Returns an empty vector on failure. Otherwise returns the values of the

Powered by Google App Engine
This is Rietveld 408576698