| Index: chrome/browser/sync/internal_api/sync_manager.cc
|
| diff --git a/chrome/browser/sync/internal_api/sync_manager.cc b/chrome/browser/sync/internal_api/sync_manager.cc
|
| index dea6522a7e7d335ae5fba1c6e900e794eb6764ef..397531ded87eac26f8f925d46cc0a27ccc7b4d9c 100644
|
| --- a/chrome/browser/sync/internal_api/sync_manager.cc
|
| +++ b/chrome/browser/sync/internal_api/sync_manager.cc
|
| @@ -38,6 +38,7 @@
|
| #include "chrome/browser/sync/syncable/directory_change_delegate.h"
|
| #include "chrome/browser/sync/syncable/directory_manager.h"
|
| #include "chrome/browser/sync/syncable/model_type.h"
|
| +#include "chrome/browser/sync/syncable/model_type_payload_map.h"
|
| #include "chrome/browser/sync/syncable/syncable.h"
|
| #include "chrome/browser/sync/util/cryptographer.h"
|
| #include "chrome/browser/sync/weak_handle.h"
|
| @@ -1598,7 +1599,9 @@ void SyncManager::SyncInternal::OnSyncEngineEvent(
|
| if (is_notifiable_commit) {
|
| allstatus_.IncrementNotifiableCommits();
|
| if (sync_notifier_.get()) {
|
| - sync_notifier_->SendNotification();
|
| + const syncable::ModelTypeSet& changed_types =
|
| + syncable::ModelTypePayloadMapToSet(event.snapshot->source.types);
|
| + sync_notifier_->SendNotification(changed_types);
|
| } else {
|
| VLOG(1) << "Not sending notification: sync_notifier_ is NULL";
|
| }
|
|
|