summaryrefslogtreecommitdiffstats
path: root/components/autofill/content/common
diff options
context:
space:
mode:
authorsebsg <sebsg@chromium.org>2016-02-08 16:48:39 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-09 00:50:16 +0000
commitd2293ca3fd96dd69a6d0f815d8b25d19ab5847cf (patch)
tree5f54c939ac863605802aad70f9c6c608b270ec6e /components/autofill/content/common
parent1928cbf1d8ec795be6ade465196db87ef8aba01c (diff)
downloadchromium_src-d2293ca3fd96dd69a6d0f815d8b25d19ab5847cf.zip
chromium_src-d2293ca3fd96dd69a6d0f815d8b25d19ab5847cf.tar.gz
chromium_src-d2293ca3fd96dd69a6d0f815d8b25d19ab5847cf.tar.bz2
If the web site designer took the time to put the autocomplete attributes, we should use those.
Since these fields have an autocomplete attribute defined, the heuristics and server predctions won't be run. Therefore, more fields would be form with a minimal additionnal cost without the risk of making a bad prediction. BUG=579651 TEST=FormAutofillBrowserTest Review URL: https://codereview.chromium.org/1671753004 Cr-Commit-Position: refs/heads/master@{#374243}
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 b090d86..2afd0471 100644
--- a/components/autofill/content/common/autofill_param_traits_macros.h
+++ b/components/autofill/content/common/autofill_param_traits_macros.h
@@ -19,6 +19,7 @@ IPC_STRUCT_TRAITS_BEGIN(autofill::FormData)
IPC_STRUCT_TRAITS_MEMBER(origin)
IPC_STRUCT_TRAITS_MEMBER(action)
IPC_STRUCT_TRAITS_MEMBER(is_form_tag)
+ IPC_STRUCT_TRAITS_MEMBER(is_formless_checkout)
IPC_STRUCT_TRAITS_MEMBER(fields)
IPC_STRUCT_TRAITS_END()