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

Unified Diff: chrome/browser/extensions/activity_database.cc

Issue 12096073: Implement sql::Connection::RazeAndClose(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Execute() and untracked changes, unit testsing. Created 7 years, 10 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: chrome/browser/extensions/activity_database.cc
diff --git a/chrome/browser/extensions/activity_database.cc b/chrome/browser/extensions/activity_database.cc
index 90aa39257675825ba2f014bbfd6a7cb7a8d71162..7ec6cce8de2c5f01a34aa662d49bfde726b0e7aa 100644
--- a/chrome/browser/extensions/activity_database.cc
+++ b/chrome/browser/extensions/activity_database.cc
@@ -114,9 +114,7 @@ void ActivityDatabase::Close() {
}
void ActivityDatabase::KillDatabase() {
- db_.RollbackTransaction();
- db_.Raze();
- db_.Close();
+ db_.RazeAndClose();
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698