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

Issue 2075503002: [Autofill] Fix the dedupe of verified profiles. (Closed)

Created:
4 years, 6 months ago by sebsg
Modified:
4 years, 6 months ago
Reviewers:
Mathieu
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

Put the verified profiles last when deduping so they are never deleted in favor of a non verified profile. Also added code so that verified profiles don't merge with other verified profiles. When an unverified profiles is compared with a similar verified profile during dedupe, the verified profile is not changed and the unverified profile is discarded. BUG=620522 TEST=PersonalDataManagerTest Committed: https://crrev.com/80c06469b872723c27bf453b3f6ee8b06f747b27 Cr-Commit-Position: refs/heads/master@{#400459}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't merge verified profiles #

Total comments: 12

Patch Set 3 : Fixed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -42 lines) Patch
M components/autofill/core/browser/autofill_profile.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager_unittest.cc View 1 2 3 chunks +243 lines, -39 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
sebsg
Hi Math, could you please take a look? Thanks!
4 years, 6 months ago (2016-06-16 01:04:21 UTC) #4
sebsg
PTAL?
4 years, 6 months ago (2016-06-16 21:34:18 UTC) #8
Mathieu
lgtm https://codereview.chromium.org/2075503002/diff/20001/components/autofill/core/browser/personal_data_manager_unittest.cc File components/autofill/core/browser/personal_data_manager_unittest.cc (right): https://codereview.chromium.org/2075503002/diff/20001/components/autofill/core/browser/personal_data_manager_unittest.cc#newcode4672 components/autofill/core/browser/personal_data_manager_unittest.cc:4672: // it's original data when deduping with similar ...
4 years, 6 months ago (2016-06-17 14:15:09 UTC) #9
sebsg
Thanks for the comments https://codereview.chromium.org/2075503002/diff/20001/components/autofill/core/browser/personal_data_manager_unittest.cc File components/autofill/core/browser/personal_data_manager_unittest.cc (right): https://codereview.chromium.org/2075503002/diff/20001/components/autofill/core/browser/personal_data_manager_unittest.cc#newcode4672 components/autofill/core/browser/personal_data_manager_unittest.cc:4672: // it's original data when ...
4 years, 6 months ago (2016-06-17 17:09:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2075503002/80001
4 years, 6 months ago (2016-06-17 17:09:29 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-17 18:20:19 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-17 18:21:38 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/80c06469b872723c27bf453b3f6ee8b06f747b27
Cr-Commit-Position: refs/heads/master@{#400459}

Powered by Google App Engine
This is Rietveld 408576698