DescriptionAutofill database migration to clean up bogus profiles.
Adds a |WebDatabase| migration to clean up old profiles. The profiles are merged in much the same way as when aggregated using form submission. Profiles that are identical to another, subsets of another, or contain invalid or incomplete email, state, zip, or address get filtered out.
Additionally, the filtered profiles are remembered in a "trash can" mechanism to later reflect these changes in Sync, so that they don't reappear unintentionally.
BUG=65625
TEST=PersonalDataManagerTest.*:AutoFillMergeTest.DataDrivenMergeProfiles:WebDatabaseMigrationTest.*:WebDatabaseTest.*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78589
Patch Set 1 #
Total comments: 22
Patch Set 2 : Addressing Ilya's review comments. #Patch Set 3 : Missed a couple. #
Total comments: 2
Patch Set 4 : Move to Lingesh's observer mechanism. #
Total comments: 6
Patch Set 5 : Nit and email. #Patch Set 6 : Adds fix for upload. #Messages
Total messages: 16 (0 generated)
|