Index: components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc |
diff --git a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc |
index 353a993b8d74573c257a0c65ccf15c9f3d9a87d1..cd99e11a2aadc10c9926a21498dea92aa64ca4f1 100644 |
--- a/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc |
+++ b/components/autofill/core/browser/webdata/autofill_profile_syncable_service.cc |
@@ -194,8 +194,10 @@ AutofillProfileSyncableService::MergeDataAndStartSyncing( |
sync_processor_->ProcessSyncChanges(FROM_HERE, new_changes)); |
} |
- if (webdata_backend_) |
+ if (webdata_backend_) { |
webdata_backend_->NotifyOfMultipleAutofillChanges(); |
+ webdata_backend_->NotifyThatSyncHasStarted(type); |
+ } |
return merge_result; |
} |
@@ -550,6 +552,7 @@ AutofillProfileSyncableService::CreateOrUpdateProfile( |
// we will merge them. |
bundle->candidates_to_merge.insert( |
std::make_pair(local_profile->guid(), new_profile)); |
+ break; |
} |
} |
profiles_.push_back(new_profile); |