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

Issue 5364007: Autofill should not allow overwrite of field data when merging profile data (Closed)

Created:
10 years ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, Paweł Hajdan Jr., ben+cc_chromium.org, James Hawkins, dhollowa
Visibility:
Public.

Description

Autofill should not allow overwrite of field data when merging profile data Changes notion of |PrimaryKey| to include address line 2 and email. When submitting a filled form the Autofill merging of profiles now considers changes to address line 2 and email a trigger to create a new profile. BUG=64669 TEST=PersonalDataManagerTest.AggregateSameProfileWithConflict Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67680

Patch Set 1 #

Total comments: 2

Patch Set 2 : Whitespace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M chrome/browser/autofill/autofill_profile.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autofill/personal_data_manager_unittest.cc View 1 4 chunks +19 lines, -6 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dhollowa
10 years ago (2010-11-30 00:57:31 UTC) #1
Ilya Sherman
LGTM, thanks http://codereview.chromium.org/5364007/diff/1/chrome/browser/autofill/personal_data_manager_unittest.cc File chrome/browser/autofill/personal_data_manager_unittest.cc (right): http://codereview.chromium.org/5364007/diff/1/chrome/browser/autofill/personal_data_manager_unittest.cc#newcode776 chrome/browser/autofill/personal_data_manager_unittest.cc:776: "Washington", "theprez@gmail.com", NULL, "1600 Pennsylvania Avenue", nit: ...
10 years ago (2010-11-30 01:18:50 UTC) #2
dhollowa
10 years ago (2010-11-30 01:31:27 UTC) #3
http://codereview.chromium.org/5364007/diff/1/chrome/browser/autofill/persona...
File chrome/browser/autofill/personal_data_manager_unittest.cc (right):

http://codereview.chromium.org/5364007/diff/1/chrome/browser/autofill/persona...
chrome/browser/autofill/personal_data_manager_unittest.cc:776: "Washington",
"theprez@gmail.com", NULL, "1600 Pennsylvania Avenue",
On 2010/11/30 01:18:50, Ilya Sherman wrote:
> nit: There's a space at the end of this line (thanks, git cl patch!)

Done.  In this case the GTM Plugin failed me... somehow it got turned off.

Powered by Google App Engine
This is Rietveld 408576698