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

Unified Diff: components/ntp_snippets/sessions/tab_delegate_sync_adapter_unittest.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_unittest.cc
diff --git a/components/ntp_snippets/sessions/tab_delegate_sync_adapter_unittest.cc b/components/ntp_snippets/sessions/tab_delegate_sync_adapter_unittest.cc
index b10c7d56f093f308f89710855367f5c2d4df8d4b..99299d80ee7bbd960c754077793a886a24c142b3 100644
--- a/components/ntp_snippets/sessions/tab_delegate_sync_adapter_unittest.cc
+++ b/components/ntp_snippets/sessions/tab_delegate_sync_adapter_unittest.cc
@@ -114,11 +114,11 @@ TEST_F(TabDelegateSyncAdapterTest, CallbackCount) {
TEST_F(TabDelegateSyncAdapterTest, OnSyncConfigurationCompleted) {
ASSERT_EQ(0, CallbackCount());
- observer()->OnSyncConfigurationCompleted();
+ observer()->OnSyncConfigurationCompleted(&service_);
EXPECT_EQ(0, CallbackCount());
SetHasOpenTabs(true);
- observer()->OnSyncConfigurationCompleted();
+ observer()->OnSyncConfigurationCompleted(&service_);
EXPECT_EQ(0, CallbackCount());
}

Powered by Google App Engine
This is Rietveld 408576698