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

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

Issue 459103005: Introduce new PasswordForm attributes for Credential Management API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +comment Created 6 years, 4 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 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;
« no previous file with comments | « chrome/browser/password_manager/password_store_mac_unittest.cc ('k') | components/autofill/core/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698