| Index: chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| diff --git a/chrome/browser/sync/test/integration/p2p_sync_refresher.cc b/chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| index 81f4296d1d94e91d2a9e6123c28c6c33c3c9fb77..fe62d3cba1833a897e936d563785bb4c693d8c62 100644
|
| --- a/chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| +++ b/chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| @@ -32,12 +32,8 @@ void P2PSyncRefresher::OnSyncCycleCompleted() {
|
| snap.model_neutral_state().commit_request_types;
|
| SyncTest* test = sync_datatype_helper::test();
|
| for (int i = 0; i < test->num_clients(); ++i) {
|
| - if (sync_service_->profile() != test->GetProfile(i)) {
|
| - content::NotificationService::current()->Notify(
|
| - chrome::NOTIFICATION_SYNC_REFRESH_LOCAL,
|
| - content::Source<Profile>(test->GetProfile(i)),
|
| - content::Details<const syncer::ModelTypeSet>(&model_types));
|
| - }
|
| + if (sync_service_->profile() != test->GetProfile(i))
|
| + test->TriggerSyncForModelTypes(i, model_types);
|
| }
|
| }
|
| }
|
|
|