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

Unified Diff: components/password_manager/core/browser/password_form_manager.h

Issue 1314903003: Updating of all entries in PasswordManager of the same credentials on password update (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bot fix Created 5 years, 3 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: components/password_manager/core/browser/password_form_manager.h
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h
index 745f0566b22240570d58c7e70a9f60ded8f10a4b..1740d89938547de3969299ddef54501cbc557eab 100644
--- a/components/password_manager/core/browser/password_form_manager.h
+++ b/components/password_manager/core/browser/password_form_manager.h
@@ -383,6 +383,10 @@ class PasswordFormManager : public PasswordStoreConsumer {
// frequently require lookups by username value in IsNewLogin.
autofill::PasswordFormMap best_matches_;
+ // Set of forms from PasswordStore that correspond to the current site and
+ // that are not in |best_matches_|.
+ ScopedVector<autofill::PasswordForm> not_best_matches_;
+
// Set of blacklisted forms from the PasswordStore that best match the current
// form.
ScopedVector<autofill::PasswordForm> blacklisted_matches_;

Powered by Google App Engine
This is Rietveld 408576698