| 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 f344c7600bcd8031be0a6c91b7f7a92706a6c7ff..f48107302ad261f1e24e48a7e6893158cd686c0c 100644
|
| --- a/chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| +++ b/chrome/browser/sync/test/integration/p2p_sync_refresher.cc
|
| @@ -8,7 +8,7 @@
|
| #include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
|
| #include "chrome/browser/sync/test/integration/sync_test.h"
|
| #include "components/browser_sync/browser/profile_sync_service.h"
|
| -#include "components/sync/sessions/sync_session_snapshot.h"
|
| +#include "components/sync/engine/cycle/sync_cycle_snapshot.h"
|
| #include "content/public/browser/notification_service.h"
|
|
|
| P2PSyncRefresher::P2PSyncRefresher(Profile* profile,
|
| @@ -24,8 +24,7 @@ P2PSyncRefresher::~P2PSyncRefresher() {
|
| void P2PSyncRefresher::OnStateChanged() {}
|
|
|
| void P2PSyncRefresher::OnSyncCycleCompleted() {
|
| - const syncer::sessions::SyncSessionSnapshot& snap =
|
| - sync_service_->GetLastSessionSnapshot();
|
| + const syncer::SyncCycleSnapshot& snap = sync_service_->GetLastCycleSnapshot();
|
| bool is_notifiable_commit =
|
| (snap.model_neutral_state().num_successful_commits > 0);
|
| if (is_notifiable_commit) {
|
|
|