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

Unified Diff: chrome/browser/password_manager/login_database.h

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/browser/password_manager/login_database.h
===================================================================
--- chrome/browser/password_manager/login_database.h (revision 19737)
+++ chrome/browser/password_manager/login_database.h (working copy)
@@ -31,8 +31,9 @@
// Adds |form| to the list of remembered password forms.
bool AddLogin(const webkit_glue::PasswordForm& form);
- // Updates remembered password form.
- bool UpdateLogin(const webkit_glue::PasswordForm& form);
+ // Updates remembered password form. Returns true on success and sets
+ // items_changed (if non-NULL) to the number of logins updated.
+ bool UpdateLogin(const webkit_glue::PasswordForm& form, int* items_changed);
// Removes |form| from the list of remembered password forms.
bool RemoveLogin(const webkit_glue::PasswordForm& form);

Powered by Google App Engine
This is Rietveld 408576698