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 fa8ffd01aef31a88d5bec512db35e4aafdfb3774..35658a8e26c7326c4903aff5624bdb73cf03c2fd 100644 |
--- a/components/autofill/core/common/password_form.h |
+++ b/components/autofill/core/common/password_form.h |
@@ -206,6 +206,21 @@ struct PasswordForm { |
// When parsing an HTML form, this is normally set. |
FormData form_data; |
+ // These fields are used by Credential Management Javascript API. That is, the |
+ // fields are set by site. When parsing an HTML form, this is not used. |
Mike West
2014/08/22 09:53:13
Nit: I'd suggest a slight rewording for clarity. H
vasilii
2014/08/22 12:52:32
Done.
|
+ // |
+ // User friendly name to show in the UI. |
+ base::string16 display_name; |
+ |
+ // The URL of the user's avatar to display in the UI. |
+ GURL avatar_url; |
+ |
+ // The URL of identity provider used for federated login. |
+ GURL federation_url; |
+ |
+ // If true, Chrome will sign the user in automatically using the credentials. |
+ bool is_zero_click; |
+ |
// Returns true if this match was found using public suffix matching. |
bool IsPublicSuffixMatch() const; |