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

Unified Diff: ios/chrome/browser/ntp_snippets/ios_chrome_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
« components/ntp_snippets/switches.h ('K') | « components/ntp_snippets/switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
diff --git a/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc b/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
index 27969f5f93f2af28482abe89320c403d606d467a..61199b19fff44123e83a89629795368927b2d9d3 100644
--- a/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
+++ b/ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc
@@ -159,7 +159,8 @@ IOSChromeContentSuggestionsServiceFactory::BuildServiceInstanceFor(
base::MakeUnique<NTPSnippetsService>(
service.get(), service->category_factory(), prefs,
suggestions_service,
- GetApplicationContext()->GetApplicationLocale(), scheduler,
+ GetApplicationContext()->GetApplicationLocale(),
+ service->user_classifier(), scheduler,
base::MakeUnique<NTPSnippetsFetcher>(
signin_manager, token_service, request_context, prefs,
service->category_factory(), base::Bind(&ParseJson),
« components/ntp_snippets/switches.h ('K') | « components/ntp_snippets/switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698