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..f711fe9557047cda6a0207c7acbb1045338fd304 100644 |
| --- a/components/autofill/core/common/password_form_fill_data.h |
| +++ b/components/autofill/core/common/password_form_fill_data.h |
| @@ -39,9 +39,22 @@ 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; |
| + |
| + // An origin is (scheme, host, port) only; it is just exactly a URL with the |
| + // query string removed. |
|
vabr (Chromium)
2014/11/10 15:38:41
nit: What about path (and fragment identifier)?
sc
Pritam Nikam
2014/11/11 06:41:03
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; |