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

Unified Diff: components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc

Issue 2110563002: Use AutofillProfileComparator in place of ad-hoc merge logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc
diff --git a/components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc b/components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc
index da62a11312cf4ff9b2301e2d43e5cccd2741ab17..cc4d442e612985b47d4b93c658719a13e797c960 100644
--- a/components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service_unittest.cc
@@ -402,6 +402,7 @@ TEST_F(AutofillProfileSyncableServiceTest, MergeSimilarProfiles) {
// should never overwrite a verified one.
AutofillProfile expected_profile(profile1);
expected_profile.set_origin(origin_present1);
+ expected_profile.SetRawInfo(NAME_FULL, ASCIIToUTF16("John"));
// Merging two profile adds their user count.
expected_profile.set_use_count(2);
syncer::SyncChangeList expected_change_list;

Powered by Google App Engine
This is Rietveld 408576698