| 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 becf0b28f3ec4a8c8309be87392f04b93429ecb3..77051bb8aa58326881c928d63d5e0c896c46bcbf 100644
|
| --- a/components/autofill/core/common/password_form.h
|
| +++ b/components/autofill/core/common/password_form.h
|
| @@ -73,20 +73,21 @@ struct PasswordForm {
|
| // http://www.example.com.
|
| std::string original_signon_realm;
|
|
|
| - // The URL (minus query parameters) containing the form. This is the primary
|
| - // data used by the PasswordManager to decide (in longest matching prefix
|
| - // fashion) whether or not a given PasswordForm result from the database is a
|
| - // good fit for a particular form on a page, so it must not be empty.
|
| + // An origin URL consists of the scheme, host, port and path; the rest is
|
| + // stripped. This is the primary data used by the PasswordManager to decide
|
| + // (in longest matching prefix fashion) whether or not a given PasswordForm
|
| + // result from the database is a good fit for a particular form on a page, so
|
| + // it must not be empty.
|
| GURL origin;
|
|
|
| - // The action target of the form. This is the primary data used by the
|
| - // PasswordManager for form autofill; that is, the action of the saved
|
| + // The action target of the form; like |origin| URL consists of the scheme,
|
| + // host, port and path; the rest is stripped. This is the primary data used by
|
| + // the PasswordManager for form autofill; that is, the action of the saved
|
| // credentials must match the action of the form on the page to be autofilled.
|
| - // If this is empty / not available, it will result in a "restricted"
|
| - // IE-like autofill policy, where we wait for the user to type in his
|
| - // username before autofilling the password. In these cases, after successful
|
| - // login the action URL will automatically be assigned by the
|
| - // PasswordManager.
|
| + // If this is empty / not available, it will result in a "restricted" IE-like
|
| + // autofill policy, where we wait for the user to type in his username before
|
| + // autofilling the password. In these cases, after successful login the action
|
| + // URL will automatically be assigned by the PasswordManager.
|
| //
|
| // When parsing an HTML form, this must always be set.
|
| GURL action;
|
|
|