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..645d1c7bca07d91a004c51b1b5703b3691b7be77 100644 |
--- a/components/autofill/core/common/password_form.h |
+++ b/components/autofill/core/common/password_form.h |
@@ -206,6 +206,22 @@ struct PasswordForm { |
// When parsing an HTML form, this is normally set. |
FormData form_data; |
+ // These following fields are set by a website using the Credential Manager |
+ // API. They will be empty and remain unused for sites which do not use that |
+ // API. |
+ // |
+ // 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; |