diff options
author | vabr <vabr@chromium.org> | 2015-01-20 02:54:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-20 10:55:22 +0000 |
commit | 79a244fb1a52c5f3594e31113d606c80000e90dd (patch) | |
tree | e901e0998f68e5fde144d1cbf190656e8a7bede8 /components/autofill/content/common | |
parent | 8e923845be33b93d8bd1c92b982d0a4125f7e64c (diff) | |
download | chromium_src-79a244fb1a52c5f3594e31113d606c80000e90dd.zip chromium_src-79a244fb1a52c5f3594e31113d606c80000e90dd.tar.gz chromium_src-79a244fb1a52c5f3594e31113d606c80000e90dd.tar.bz2 |
[PasswordManager] Do not save change password forms
Change password forms are not yet supported in PasswordManager. But after adding pushState support recently, they could be offered to the user for saving.
This CL adds a check to avoid change password forms being saved.
BUG=447558,448351
Review URL: https://codereview.chromium.org/812033010
Cr-Commit-Position: refs/heads/master@{#312179}
Diffstat (limited to 'components/autofill/content/common')
-rw-r--r-- | components/autofill/content/common/autofill_param_traits_macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/autofill/content/common/autofill_param_traits_macros.h b/components/autofill/content/common/autofill_param_traits_macros.h index 20a7779..eca7eb5 100644 --- a/components/autofill/content/common/autofill_param_traits_macros.h +++ b/components/autofill/content/common/autofill_param_traits_macros.h @@ -32,6 +32,7 @@ IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordForm) IPC_STRUCT_TRAITS_MEMBER(action) IPC_STRUCT_TRAITS_MEMBER(submit_element) IPC_STRUCT_TRAITS_MEMBER(username_element) + IPC_STRUCT_TRAITS_MEMBER(username_marked_by_site) IPC_STRUCT_TRAITS_MEMBER(username_value) IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames) IPC_STRUCT_TRAITS_MEMBER(password_element) |