[Autofill] Adds a function to see if profiles have the same data.
When constructing labels for a collection of profiles, it is useful to know whether certain fields, such as email address and first name, can disambiguate profiles. Also (1) changes the name of GetLabelName to GetLabelFullName, (2) adds GetLabelFirstName, and (3) removes HaveSameEmailAddresses. GetLabelFirstName will be used by mobile-friendly LabelFormatters since first names take up less space than full names. This is a separate CL to reduce the size and complexity of the upcoming mobile-friendly-related LabelFormatter changes. Bug: 958333 Change-Id: I971cb78342ed89987765bb16656c302e5bc4d4e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1594074 Commit-Queue: Caitlin Fischer <caitlinfischer@google.com> Reviewed-by:Tommy Martino <tmartino@chromium.org> Reviewed-by:
Fabio Tirelo <ftirelo@chromium.org> Cr-Commit-Position: refs/heads/master@{#658716}
Showing
Please register or sign in to comment