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

Unified Diff: chrome/common/sqlite_utils.cc

Issue 151176: Implement Add and Update for PasswordStoreMac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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: chrome/common/sqlite_utils.cc
===================================================================
--- chrome/common/sqlite_utils.cc (revision 19737)
+++ chrome/common/sqlite_utils.cc (working copy)
@@ -221,6 +221,11 @@
return sqlite3_last_insert_rowid(db_handle());
}
+int SQLStatement::changes() {
+ DCHECK(stmt_);
+ return sqlite3_changes(db_handle());
+}
+
sqlite3* SQLStatement::db_handle() {
DCHECK(stmt_);
return sqlite3_db_handle(stmt_);
« chrome/browser/password_manager/password_store_mac.cc ('K') | « chrome/common/sqlite_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698