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

Unified Diff: app/sql/meta_table.cc

Issue 2866023: Linux: delete the unencrypted login database file after a successful password migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « app/sql/meta_table.h ('k') | chrome/browser/password_manager/login_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/sql/meta_table.cc
===================================================================
--- app/sql/meta_table.cc (revision 51079)
+++ app/sql/meta_table.cc (working copy)
@@ -45,6 +45,10 @@
return true;
}
+void MetaTable::Reset() {
+ db_ = NULL;
+}
+
bool MetaTable::SetValue(const char* key, const std::string& value) {
Statement s;
if (!PrepareSetStatement(&s, key))
@@ -146,4 +150,3 @@
}
} // namespace sql
-
« no previous file with comments | « app/sql/meta_table.h ('k') | chrome/browser/password_manager/login_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698