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

Issue 1931123002: [Autofill] Make PersonalDataManager::OverwriteWith case sensitive. (Closed)

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

Description

That way Autofill always keeps the latest "syntax" that the user used for each field. Also added a couple of other merge tests. BUG=607738 TEST=ContactInfoTest, AutofillMergeTest Committed: https://crrev.com/2bc61dd282133e1c333e3998b726621455f509dd Cr-Commit-Position: refs/heads/master@{#391496}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : Addressed comments and added tests #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -59 lines) Patch
M components/autofill/core/browser/autofill_profile.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 2 3 3 chunks +22 lines, -16 lines 0 comments Download
M components/autofill/core/browser/autofill_profile_unittest.cc View 1 2 3 2 chunks +153 lines, -0 lines 0 comments Download
M components/autofill/core/browser/contact_info.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/contact_info.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M components/autofill/core/browser/contact_info_unittest.cc View 2 chunks +7 lines, -7 lines 0 comments Download
A + components/test/data/autofill/merge/input/addressLinesLessInfo.in View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
A + components/test/data/autofill/merge/input/addressLinesMoreInfo.in View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M components/test/data/autofill/merge/input/case.in View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A + components/test/data/autofill/merge/input/moreInfo.in View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
A + components/test/data/autofill/merge/input/names.in View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
A + components/test/data/autofill/merge/input/punctuation.in View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A + components/test/data/autofill/merge/output/addressLinesLessInfo.out View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + components/test/data/autofill/merge/output/addressLinesMoreInfo.out View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/test/data/autofill/merge/output/case.out View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
A + components/test/data/autofill/merge/output/moreInfo.out View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + components/test/data/autofill/merge/output/names.out View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + components/test/data/autofill/merge/output/punctuation.out View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (18 generated)
sebsg
Hi math, could you please take a look?
4 years, 7 months ago (2016-04-29 02:31:39 UTC) #6
Mathieu
Thanks for the cleanup! https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/autofill_profile.cc#newcode528 components/autofill/core/browser/autofill_profile.cc:528: ServerFieldTypeSet field_types; add a comment ...
4 years, 7 months ago (2016-04-29 12:18:43 UTC) #7
Mathieu
https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/contact_info.cc File components/autofill/core/browser/contact_info.cc (right): https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/contact_info.cc#newcode40 components/autofill/core/browser/contact_info.cc:40: bool NameInfo::ParsedNamesAreEqual(const NameInfo& info) const { update comment in ...
4 years, 7 months ago (2016-04-29 12:23:03 UTC) #8
sebsg
Thanks for the comments! https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1931123002/diff/40001/components/autofill/core/browser/autofill_profile.cc#newcode528 components/autofill/core/browser/autofill_profile.cc:528: ServerFieldTypeSet field_types; On 2016/04/29 12:18:43, ...
4 years, 7 months ago (2016-04-29 15:04:49 UTC) #10
Mathieu
https://codereview.chromium.org/1931123002/diff/80001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1931123002/diff/80001/components/autofill/core/browser/autofill_profile.cc#newcode490 components/autofill/core/browser/autofill_profile.cc:490: name_.SetRawInfo(NAME_FULL, imported_name.GetRawInfo(NAME_FULL)); let's make sure that if name_'s NAME_FULL ...
4 years, 7 months ago (2016-04-29 15:52:06 UTC) #11
sebsg
Could you please take another look ? Thanks!
4 years, 7 months ago (2016-05-03 19:53:05 UTC) #13
Mathieu
lgtm
4 years, 7 months ago (2016-05-03 19:58:34 UTC) #14
sebsg
Thanks! https://codereview.chromium.org/1931123002/diff/80001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1931123002/diff/80001/components/autofill/core/browser/autofill_profile.cc#newcode490 components/autofill/core/browser/autofill_profile.cc:490: name_.SetRawInfo(NAME_FULL, imported_name.GetRawInfo(NAME_FULL)); On 2016/04/29 15:52:06, Mathieu Perreault wrote: ...
4 years, 7 months ago (2016-05-03 20:02:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931123002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931123002/140001
4 years, 7 months ago (2016-05-03 20:02:56 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/28996) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-03 20:06:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931123002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931123002/180001
4 years, 7 months ago (2016-05-03 23:25:09 UTC) #25
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 00:53:05 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1931123002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1931123002/180001
4 years, 7 months ago (2016-05-04 13:39:14 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:180001)
4 years, 7 months ago (2016-05-04 13:43:44 UTC) #31
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 13:44:49 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2bc61dd282133e1c333e3998b726621455f509dd
Cr-Commit-Position: refs/heads/master@{#391496}

Powered by Google App Engine
This is Rietveld 408576698