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

Unified Diff: components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc

Issue 2657673004: Add shutdown notification and service refs to SyncServiceObserver. (Closed)
Patch Set: 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: components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
diff --git a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
index 8f7733d919069cb593d27adc42c8e5e491bb656c..769a10ecb68e395be926a91f5d2075a5e150e46c 100644
--- a/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
+++ b/components/ntp_snippets/sessions/tab_delegate_sync_adapter.cc
@@ -62,7 +62,8 @@ void TabDelegateSyncAdapter::OnStateChanged() {
}
}
-void TabDelegateSyncAdapter::OnSyncConfigurationCompleted() {
+void TabDelegateSyncAdapter::OnSyncConfigurationCompleted(
+ syncer::SyncService* sync) {
// Ignored. This event can let us know when the set of enabled data types
// change. However, we want to avoid useless notifications as much as
// possible, and all of the information captured in this event will also be

Powered by Google App Engine
This is Rietveld 408576698