Index: components/autofill/core/common/password_form.cc |
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc |
index acb9b45797e2f626b3bef0f5d057c58d0acdc64d..c4bcc588f7686b2a31e15306cd280b9656806393 100644 |
--- a/components/autofill/core/common/password_form.cc |
+++ b/components/autofill/core/common/password_form.cc |
@@ -64,6 +64,8 @@ void PasswordFormToJSON(const PasswordForm& form, |
target->SetBoolean("was_parsed_using_autofill_predictions", |
form.was_parsed_using_autofill_predictions); |
target->SetString("affiliated_web_realm", form.affiliated_web_realm); |
+ target->SetBoolean("does_look_like_signup_form", |
+ form.does_look_like_signup_form); |
} |
} // namespace |
@@ -84,7 +86,8 @@ PasswordForm::PasswordForm() |
layout(Layout::LAYOUT_OTHER), |
was_parsed_using_autofill_predictions(false), |
is_public_suffix_match(false), |
- is_affiliation_based_match(false) {} |
+ is_affiliation_based_match(false), |
+ does_look_like_signup_form(false) {} |
PasswordForm::PasswordForm(const PasswordForm& other) = default; |
@@ -128,7 +131,8 @@ bool PasswordForm::operator==(const PasswordForm& form) const { |
form.was_parsed_using_autofill_predictions && |
is_public_suffix_match == form.is_public_suffix_match && |
is_affiliation_based_match == form.is_affiliation_based_match && |
- affiliated_web_realm == form.affiliated_web_realm; |
+ affiliated_web_realm == form.affiliated_web_realm && |
+ does_look_like_signup_form == form.does_look_like_signup_form; |
} |
bool PasswordForm::operator!=(const PasswordForm& form) const { |