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

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

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.h
diff --git a/components/autofill/core/common/password_form.h b/components/autofill/core/common/password_form.h
index d110376d6fa322220daef73da1ece74d3fc10db1..2ae86b8aad55d662ec0a6c03c6777c8b04f00f2f 100644
--- a/components/autofill/core/common/password_form.h
+++ b/components/autofill/core/common/password_form.h
@@ -107,6 +107,13 @@ struct PasswordForm {
// When parsing an HTML form, this must always be set.
GURL action;
+ // The web realm affiliated with the Android application, if the form is an
+ // Android credential. Otherwise, the string is empty. If there are several
+ // realms affiliated with the application, an arbitrary realm is chosen.
+ // The field is filled out in PasswordStore's InjectAffiliatedWebRealms.
+ // If there was no call of InjectAffiliatedWebRealms, the string is empty.
+ std::string affiliated_web_realm;
+
// The name of the submit button used. Optional; only used in scoring
// of PasswordForm results from the database to make matches as tight as
// possible.
« no previous file with comments | « chrome/browser/ui/webui/options/password_manager_handler.cc ('k') | components/autofill/core/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698