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

Unified Diff: components/ntp_snippets/content_suggestions_service_unittest.cc

Issue 2519053002: 📰 Let the backend trigger sign in related refreshes (Closed)
Patch Set: Fix iOS build Created 4 years, 1 month 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/content_suggestions_service_unittest.cc
diff --git a/components/ntp_snippets/content_suggestions_service_unittest.cc b/components/ntp_snippets/content_suggestions_service_unittest.cc
index fb982d4ab6d380005d37745c53803fd5e1eb2544..c58cfbbe717c6f91868ead917fbb8b697c185679 100644
--- a/components/ntp_snippets/content_suggestions_service_unittest.cc
+++ b/components/ntp_snippets/content_suggestions_service_unittest.cc
@@ -119,6 +119,7 @@ class MockServiceObserver : public ContentSuggestionsService::Observer {
void(Category changed_category, CategoryStatus new_status));
MOCK_METHOD1(OnSuggestionInvalidated,
void(const ContentSuggestion::ID& suggestion_id));
+ MOCK_METHOD0(OnFullRefreshRequired, void());
MOCK_METHOD0(ContentSuggestionsServiceShutdown, void());
private:
@@ -214,7 +215,8 @@ class ContentSuggestionsServiceTest : public testing::Test {
ContentSuggestionsService::State enabled) {
ASSERT_FALSE(service_);
service_.reset(new ContentSuggestionsService(
- enabled, /*history_service=*/nullptr, pref_service_.get()));
+ enabled, /*signin_manager=*/nullptr, /*history_service=*/nullptr,
+ pref_service_.get()));
}
void ResetService() {
« no previous file with comments | « components/ntp_snippets/content_suggestions_service.cc ('k') | components/ntp_snippets/remote/ntp_snippets_status_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698