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

Unified Diff: chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: Chromeos fix Created 3 years, 11 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: chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc
diff --git a/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc b/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc
index ccfeb7a84550323b1cc2857648a8915df781acf1..9b4d07bbd135777c145d4fe24063c6afab94b155 100644
--- a/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc
+++ b/chrome/browser/sync/test/integration/p2p_invalidation_forwarder.cc
@@ -20,9 +20,7 @@ P2PInvalidationForwarder::~P2PInvalidationForwarder() {
sync_service_->RemoveObserver(this);
}
-void P2PInvalidationForwarder::OnStateChanged() {}
-
-void P2PInvalidationForwarder::OnSyncCycleCompleted() {
+void P2PInvalidationForwarder::OnSyncCycleCompleted(syncer::SyncService* sync) {
const syncer::SyncCycleSnapshot& snap = sync_service_->GetLastCycleSnapshot();
bool is_notifiable_commit =
(snap.model_neutral_state().num_successful_commits > 0);

Powered by Google App Engine
This is Rietveld 408576698