Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Issue 2088443002: Expand autofill profile merge logic. (Closed)

Created:
4 years, 6 months ago by Roger McFarlane (Chromium)
Modified:
4 years, 5 months ago
Reviewers:
Mathieu, tmartino
CC:
browser-components-watch_chromium.org, chromium-reviews, estade+watch_chromium.org, jdonnelly+autofillwatch_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand autofill profile merge logic. The AutofillProfileComparator expands the range of "mergeable" autofill profiles that Chrome can detect. This CL adds the corresponding logic to determine which parts of each profile to prefer when carring out a merge operations. The CL adds only the merge logic and unit-tests. It does not integrate this functionality into the main profile deduplication flow. BUG=618095, 618095 R=mathp@chromium.org, sebsg@chromium.org Committed: https://crrev.com/8b7aad0dfb2118f1f054634969b87372c94205d2 Cr-Commit-Position: refs/heads/master@{#402520}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase + MOAR Profile Merge Goodness! #

Total comments: 1

Patch Set 3 : More name tests. #

Total comments: 12

Patch Set 4 : Tommy's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+943 lines, -61 lines) Patch
M components/autofill/core/browser/autofill_profile_comparator.h View 1 2 3 3 chunks +79 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_profile_comparator.cc View 1 2 3 10 chunks +420 lines, -32 lines 0 comments Download
M components/autofill/core/browser/autofill_profile_comparator_unittest.cc View 1 2 11 chunks +444 lines, -27 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
Roger McFarlane (Chromium)
PTAL?
4 years, 6 months ago (2016-06-20 19:47:34 UTC) #1
Mathieu
Will wait for more tests around MergeX functions https://codereview.chromium.org/2088443002/diff/1/components/autofill/core/browser/autofill_profile_comparator.cc File components/autofill/core/browser/autofill_profile_comparator.cc (right): https://codereview.chromium.org/2088443002/diff/1/components/autofill/core/browser/autofill_profile_comparator.cc#newcode233 components/autofill/core/browser/autofill_profile_comparator.cc:233: case ...
4 years, 6 months ago (2016-06-21 18:55:07 UTC) #3
Roger McFarlane (Chromium)
Thanks. I pulled on more merge functions (put them in the wrong branch, sorry) and ...
4 years, 6 months ago (2016-06-23 18:27:38 UTC) #4
Mathieu
lgtm, pretty thorough thanks! Just one nit https://codereview.chromium.org/2088443002/diff/20001/components/autofill/core/browser/autofill_profile_comparator_unittest.cc File components/autofill/core/browser/autofill_profile_comparator_unittest.cc (right): https://codereview.chromium.org/2088443002/diff/20001/components/autofill/core/browser/autofill_profile_comparator_unittest.cc#newcode531 components/autofill/core/browser/autofill_profile_comparator_unittest.cc:531: name1.SetRawInfo(NAME_FULL, UTF8ToUTF16("John ...
4 years, 6 months ago (2016-06-23 18:36:22 UTC) #5
Roger McFarlane (Chromium)
Thanks! Adding Tommy as a second set of eyes.
4 years, 6 months ago (2016-06-23 20:23:19 UTC) #7
tmartino
lgtm with a few nits/questions https://codereview.chromium.org/2088443002/diff/40001/components/autofill/core/browser/autofill_profile_comparator.cc File components/autofill/core/browser/autofill_profile_comparator.cc (right): https://codereview.chromium.org/2088443002/diff/40001/components/autofill/core/browser/autofill_profile_comparator.cc#newcode294 components/autofill/core/browser/autofill_profile_comparator.cc:294: region.empty() ? PhoneNumberUtil::NATIONAL It ...
4 years, 5 months ago (2016-06-27 17:56:47 UTC) #8
Roger McFarlane (Chromium)
thanks! One last peek? https://codereview.chromium.org/2088443002/diff/40001/components/autofill/core/browser/autofill_profile_comparator.cc File components/autofill/core/browser/autofill_profile_comparator.cc (right): https://codereview.chromium.org/2088443002/diff/40001/components/autofill/core/browser/autofill_profile_comparator.cc#newcode294 components/autofill/core/browser/autofill_profile_comparator.cc:294: region.empty() ? PhoneNumberUtil::NATIONAL On 2016/06/27 ...
4 years, 5 months ago (2016-06-28 17:26:47 UTC) #10
tmartino
lgtm
4 years, 5 months ago (2016-06-28 17:32:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2088443002/80001
4 years, 5 months ago (2016-06-28 17:36:56 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 5 months ago (2016-06-28 20:19:44 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 20:22:40 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8b7aad0dfb2118f1f054634969b87372c94205d2
Cr-Commit-Position: refs/heads/master@{#402520}

Powered by Google App Engine
This is Rietveld 408576698