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

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

Issue 906973007: PasswordStore: Clean up expectations about rewriting vectors of forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/password_manager/password_store_x.h
diff --git a/chrome/browser/password_manager/password_store_x.h b/chrome/browser/password_manager/password_store_x.h
index 17655338947e9e334451ecc023feb1e1f5824ae8..000d4af0ace3ed15d864e78b8a2968366a8ffd84 100644
--- a/chrome/browser/password_manager/password_store_x.h
+++ b/chrome/browser/password_manager/password_store_x.h
@@ -58,6 +58,10 @@ class PasswordStoreX : public password_manager::PasswordStoreDefault {
base::Time delete_end,
password_manager::PasswordStoreChangeList* changes) = 0;
+ // The three methods below overwrite |forms| with all stored credentials
+ // matching |form|, all stored non-blacklisted credentials, and all stored
+ // blacklisted credentials, respectively. On success, they return true,
+ // otherwise they return false and erase |forms|.
virtual bool GetLogins(const autofill::PasswordForm& form,
engedy 2015/02/25 15:17:48 The FailingBackend in password_store_x_unittest.cc
vabr (Chromium) 2015/03/09 10:56:19 Done. After dropping the promise about erasing on
engedy 2015/03/09 13:33:17 Acknowledged.
ScopedVector<autofill::PasswordForm>* forms) = 0;
virtual bool GetAutofillableLogins(

Powered by Google App Engine
This is Rietveld 408576698