Chromium Code Reviews| 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..08c1e889bacfe76695ed99b4e3ecb44d828634d4 100644 |
| --- a/components/autofill/core/common/password_form_fill_data.h |
| +++ b/components/autofill/core/common/password_form_fill_data.h |
| @@ -39,9 +39,21 @@ struct PasswordFormFillData { |
| typedef std::map<UsernamesCollectionKey, |
| std::vector<base::string16> > UsernamesCollection; |
| - // Identifies the HTML form on the page and preferred username/password for |
| - // login. |
| - FormData basic_data; |
| + // The name of the form. |
| + base::string16 name; |
| + |
| + // The URL (minus query parameters) containing the form. |
|
palmer
2014/11/07 21:19:01
Nit: Document this more precisely. An origin is (s
Pritam Nikam
2014/11/08 09:20:42
Done.
|
| + GURL origin; |
| + |
| + // The action target of the form. |
| + GURL action; |
| + |
| + // True if this form was submitted by a user gesture and not javascript. |
| + bool user_submitted; |
| + |
| + // Username and password input fields in the form. |
| + FormFieldData username_field; |
| + FormFieldData password_field; |
| // The signon realm of the preferred user/pass pair. |
| std::string preferred_realm; |