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

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

Issue 2142123002: [Autofill] Run autofill-profile de-dupe after sync starts if sync is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better logging and fix mathp's comments Created 4 years, 5 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_wallet_metadata_syncable_service.cc
diff --git a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc
index b6cd2647065e52be4d43833fe071cad427440e66..7541787ea0489dd4e85a6d0f490285ced1903009 100644
--- a/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc
+++ b/components/autofill/core/browser/webdata/autofill_wallet_metadata_syncable_service.cc
@@ -225,7 +225,10 @@ AutofillWalletMetadataSyncableService::MergeDataAndStartSyncing(
cache_ = initial_sync_data;
- return MergeData(initial_sync_data);
+ syncer::SyncMergeResult result = MergeData(initial_sync_data);
+ if (web_data_backend_)
+ web_data_backend_->NotifyThatSyncHasStarted(type);
+ return result;
}
void AutofillWalletMetadataSyncableService::StopSyncing(

Powered by Google App Engine
This is Rietveld 408576698