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

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

Issue 1028163002: Processing USERNAME reply from Autofill server in Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small nit Created 5 years, 9 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.cc
diff --git a/components/autofill/core/common/password_form.cc b/components/autofill/core/common/password_form.cc
index c3a68f9961769dac0b2e32da843de98e73232fc7..8019923d9ce17408327f2c015bb95fc673a1b770 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -22,7 +22,8 @@ PasswordForm::PasswordForm()
times_used(0),
generation_upload_status(NO_SIGNAL_SENT),
skip_zero_click(false),
- layout(Layout::LAYOUT_OTHER) {
+ layout(Layout::LAYOUT_OTHER),
+ parsed_using_autofill_predictions(false) {
}
PasswordForm::~PasswordForm() {
@@ -61,7 +62,9 @@ bool PasswordForm::operator==(const PasswordForm& form) const {
avatar_url == form.avatar_url &&
federation_url == form.federation_url &&
skip_zero_click == form.skip_zero_click &&
- layout == form.layout;
+ layout == form.layout &&
+ parsed_using_autofill_predictions ==
+ form.parsed_using_autofill_predictions;
}
bool PasswordForm::operator!=(const PasswordForm& form) const {
@@ -112,7 +115,9 @@ std::ostream& operator<<(std::ostream& os, const PasswordForm& form) {
<< " avatar_url: " << form.avatar_url
<< " federation_url: " << form.federation_url
<< " skip_next_zero_click: " << form.skip_zero_click
- << " layout: " << form.layout;
+ << " layout: " << form.layout
+ << " parsed_using_autofill_predictions: "
+ << form.parsed_using_autofill_predictions;
}
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698