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

Unified Diff: components/suggestions/suggestions_service_impl_unittest.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
« no previous file with comments | « components/suggestions/suggestions_service_impl.cc ('k') | components/sync/driver/sync_error_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/suggestions/suggestions_service_impl_unittest.cc
diff --git a/components/suggestions/suggestions_service_impl_unittest.cc b/components/suggestions/suggestions_service_impl_unittest.cc
index bc3aafcfda6a5a1154f1aefe22d135517b4d0807..829c053691298cbe422799abc448eef9013089cc 100644
--- a/components/suggestions/suggestions_service_impl_unittest.cc
+++ b/components/suggestions/suggestions_service_impl_unittest.cc
@@ -398,7 +398,7 @@ TEST_F(SuggestionsServiceTest, FetchSuggestionsDataSyncDisabled) {
// Tell SuggestionsService that the sync state changed. The cache should be
// cleared and empty data returned to the callback.
- suggestions_service->OnStateChanged();
+ suggestions_service->OnStateChanged(mock_sync_service_.get());
// Ensure that CheckCallback ran once with empty data.
EXPECT_EQ(1, suggestions_data_callback_count_);
« no previous file with comments | « components/suggestions/suggestions_service_impl.cc ('k') | components/sync/driver/sync_error_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698