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

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

Issue 614023002: [Password manager] Relplace the FormFieldData vector from autofill::FormData with named fields… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed FormData from PasswordFormFillData. Created 6 years, 1 month 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_fill_data.h
diff --git a/components/autofill/core/common/password_form_fill_data.h b/components/autofill/core/common/password_form_fill_data.h
index 14c4759865bc6d91492623af80af1b64bbfc6cf9..24ccc6788958554b8876b6578c40cd1511304d60 100644
--- a/components/autofill/core/common/password_form_fill_data.h
+++ b/components/autofill/core/common/password_form_fill_data.h
@@ -41,7 +41,17 @@ struct PasswordFormFillData {
// Identifies the HTML form on the page and preferred username/password for
// login.
Ilya Sherman 2014/11/04 23:05:31 This comment seems obsolete.
Pritam Nikam 2014/11/05 05:58:15 Done.
- FormData basic_data;
+ // The name of the form.
+ base::string16 name;
Ilya Sherman 2014/11/04 23:05:31 nit: Please leave blank lines between individual f
Pritam Nikam 2014/11/05 05:58:15 Done.
+ // The URL (minus query parameters) containing the form.
+ GURL origin;
+ // The action target of the form.
+ GURL action;
+ // true if this form was submitted by a user gesture and not javascript.
Ilya Sherman 2014/11/04 23:05:31 nit: "true" -> "True"
Pritam Nikam 2014/11/05 05:58:14 Done.
+ bool user_submitted;
+
+ FormFieldData username_field;
+ FormFieldData password_field;
Ilya Sherman 2014/11/04 23:05:31 Please document these fields.
Pritam Nikam 2014/11/05 05:58:15 Done.
// The signon realm of the preferred user/pass pair.
std::string preferred_realm;

Powered by Google App Engine
This is Rietveld 408576698