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

Unified Diff: components/autofill/core/common/password_form.h

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewers' comments Created 5 years, 5 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/autofill/core/common/password_form.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index 88a7840fd84cfe3dd91376e2ea96956689be044e..6779947a346a005a2f29e5d74952d99266850571 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -276,6 +276,11 @@ struct PasswordForm {
// We use only client heuristics, so it could include signup forms.
bool IsPossibleChangePasswordForm() const;
+ // Return true if we consider this form to be a change password form
+ // without username field. We use only client heuristics, so it could
+ // include signup forms.
+ bool IsPossibleChangePasswordFormWithoutUsername() const;
+
// Equality operators for testing.
bool operator==(const PasswordForm& form) const;
bool operator!=(const PasswordForm& form) const;

Powered by Google App Engine
This is Rietveld 408576698