DescriptionAdd an AutofillProfileComparator class.
This CL adds an AutofillProfileComparator class that applies broader
heuristics to identify mergeable autofill profiles. This is the first
of several CLs to more intelligently prevent and eliminate duplicate
autofill profiles.
Chrome Autofill often create duplicate profiles. These profiles differ
lexically, but have identical meaning to the user. While we do perform
some level of deduplication, it is insufficient.
We can improve Chrome's ability to detect and resolve duplicate autofill
profiles by adopting the following approaches:
- Normalize fields before comparison to fold case, remove diacritics,
remove punctuation and collapse or remove whitespace.
- Smarter name comparison to account for compound names and the use
of initials. For example, John Quincy Public and John Q. Public.
- Broaden phone number matching to include missing extensions or
area codes.
- Use bag-of-words comparison to compare addresses. This accounts for
different orderings of the information. For example,
23-1 Main St vs 23 Main St, Apt 1
BUG=618095, 587465
R=mathp@chromium.org, sebsg@chromium.org
Committed: https://crrev.com/a7b3333ea833f2d7e961e970437408a0b346f5f0
Cr-Commit-Position: refs/heads/master@{#399452}
Patch Set 1 #Patch Set 2 : Fix gyp files. #
Total comments: 14
Patch Set 3 : Apply review comments fixes and use GetInfo instead of GetRawInfo #Patch Set 4 : rebase #
Total comments: 16
Patch Set 5 : Moar tests and handling of initials #Patch Set 6 : Rebase #
Messages
Total messages: 18 (5 generated)
|