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

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

Issue 1615653005: [Password manager] Human readable origins for Android credentials on chrome://settings/passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inlined the variable androidUriSuffix Created 4 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 3ae8c4508852cb374b7ed850a06b2f2db6e525b2..acb9b45797e2f626b3bef0f5d057c58d0acdc64d 100644
--- a/components/autofill/core/common/password_form.cc
+++ b/components/autofill/core/common/password_form.cc
@@ -63,6 +63,7 @@ void PasswordFormToJSON(const PasswordForm& form,
target->SetString("layout", layout_string_stream.str());
target->SetBoolean("was_parsed_using_autofill_predictions",
form.was_parsed_using_autofill_predictions);
+ target->SetString("affiliated_web_realm", form.affiliated_web_realm);
}
} // namespace
@@ -126,7 +127,8 @@ bool PasswordForm::operator==(const PasswordForm& form) const {
was_parsed_using_autofill_predictions ==
form.was_parsed_using_autofill_predictions &&
is_public_suffix_match == form.is_public_suffix_match &&
- is_affiliation_based_match == form.is_affiliation_based_match;
+ is_affiliation_based_match == form.is_affiliation_based_match &&
+ affiliated_web_realm == form.affiliated_web_realm;
}
bool PasswordForm::operator!=(const PasswordForm& form) const {
« no previous file with comments | « components/autofill/core/common/password_form.h ('k') | components/password_manager/core/browser/affiliated_match_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698