summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/common
diff options
context:
space:
mode:
authorvabr <vabr@chromium.org>2015-01-20 02:54:10 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-20 10:55:22 +0000
commit79a244fb1a52c5f3594e31113d606c80000e90dd (patch)
treee901e0998f68e5fde144d1cbf190656e8a7bede8 /components/autofill/content/common
parent8e923845be33b93d8bd1c92b982d0a4125f7e64c (diff)
downloadchromium_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.h1
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)