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

Unified Diff: components/autofill/core/common/password_form_fill_data.cc

Issue 1161023008: Suggest to fill password change forms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tiny fix Created 5 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: components/autofill/core/common/password_form_fill_data.cc
diff --git a/components/autofill/core/common/password_form_fill_data.cc b/components/autofill/core/common/password_form_fill_data.cc
index 714e8f57b5df5b6f12b975d1619dfcfade99458a..9bf0d0215fee4de31762c26b89b599daed065d57 100644
--- a/components/autofill/core/common/password_form_fill_data.cc
+++ b/components/autofill/core/common/password_form_fill_data.cc
@@ -23,7 +23,9 @@ bool UsernamesCollectionKey::operator<(
}
PasswordFormFillData::PasswordFormFillData()
- : user_submitted(false), wait_for_username(false) {
+ : user_submitted(false),
+ wait_for_username(false),
+ is_possible_change_password_form(false) {
}
PasswordFormFillData::~PasswordFormFillData() {
@@ -55,6 +57,8 @@ void InitPasswordFormFillData(
result->username_field = username_field;
result->password_field = password_field;
result->wait_for_username = wait_for_username_before_autofill;
+ result->is_possible_change_password_form =
+ form_on_page.IsPossibleChangePasswordForm();
result->preferred_realm = preferred_match->original_signon_realm;

Powered by Google App Engine
This is Rietveld 408576698