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

Unified Diff: components/browser_sync/browser/profile_sync_service_autofill_unittest.cc

Issue 1891903002: [Autofill] Set basic information when adding a new profiles and credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/browser_sync/browser/profile_sync_service_autofill_unittest.cc
diff --git a/components/browser_sync/browser/profile_sync_service_autofill_unittest.cc b/components/browser_sync/browser/profile_sync_service_autofill_unittest.cc
index 7539925b8bba4201847b15fd60250b75364ff074..b67eb2ab0df300244ab5a3b19d25709c7357a1f8 100644
--- a/components/browser_sync/browser/profile_sync_service_autofill_unittest.cc
+++ b/components/browser_sync/browser/profile_sync_service_autofill_unittest.cc
@@ -985,6 +985,7 @@ TEST_F(ProfileSyncServiceAutofillTest, HasNativeHasSyncMergeProfileCombine) {
"Mitchell", "Morrison",
"johnwayne@me.xyz", "Fox", "123 Zoo St.", "unit 5", "Hollywood", "CA",
"91601", "US", "12345678910");
+ sync_profile.set_use_date(base::Time());
Mathieu 2016/04/19 14:29:35 can we have non zero use dates here and see what h
sebsg 2016/04/20 20:25:46 Done.
AutofillProfile* native_profile = new AutofillProfile;
// Same address, but different names, phones and e-mails.
@@ -992,6 +993,7 @@ TEST_F(ProfileSyncServiceAutofillTest, HasNativeHasSyncMergeProfileCombine) {
"23355099-1170-4B71-8ED4-144470CC9EBF", "Billing", "Alicia", "Saenz",
"joewayne@me.xyz", "Fox", "123 Zoo St.", "unit 5", "Hollywood", "CA",
"91601", "US", "19482937549");
+ native_profile->set_use_date(base::Time());
AutofillProfile expected_profile(sync_profile);
expected_profile.OverwriteWith(*native_profile, "en-US");

Powered by Google App Engine
This is Rietveld 408576698