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

Unified Diff: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc

Issue 2395753003: [NTP Snippets] Hook up background fetching scheduler to UserClassifier (Closed)
Patch Set: Created 4 years, 2 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/ntp_snippets/content_suggestions_service_factory.cc
diff --git a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
index 669e306d27180466e07a1d417946046f1c85868a..998ff6b8d46b8c2d10e30694e2dcec0b5b993e4d 100644
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
@@ -150,7 +150,8 @@ void RegisterArticleProvider(SigninManagerBase* signin_manager,
chrome::GetChannel() == version_info::Channel::STABLE;
auto provider = base::MakeUnique<NTPSnippetsService>(
service, service->category_factory(), pref_service, suggestions_service,
- g_browser_process->GetApplicationLocale(), scheduler,
+ g_browser_process->GetApplicationLocale(), service->user_classifier(),
+ scheduler,
base::MakeUnique<NTPSnippetsFetcher>(
signin_manager, token_service, request_context, pref_service,
category_factory, base::Bind(&safe_json::SafeJsonParser::Parse),
« no previous file with comments | « no previous file | components/ntp_snippets/content_suggestions_service.h » ('j') | components/ntp_snippets/switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698