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

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

Issue 2395123002: Connecting UserClassifier to NtpSnippetsFetcher (Closed)
Patch Set: A small fix 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 998ff6b8d46b8c2d10e30694e2dcec0b5b993e4d..caca93e1d5f511b05467e82e6f57fbf393949df1 100644
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
@@ -156,7 +156,8 @@ void RegisterArticleProvider(SigninManagerBase* signin_manager,
signin_manager, token_service, request_context, pref_service,
category_factory, base::Bind(&safe_json::SafeJsonParser::Parse),
is_stable_channel ? google_apis::GetAPIKey()
- : google_apis::GetNonStableAPIKey()),
+ : google_apis::GetNonStableAPIKey(),
+ service->user_classifier()),
Marc Treib 2016/10/06 13:41:54 You'll also have to do this for ios.
jkrcal 2016/10/06 14:45:58 Thanks! Done.
base::MakeUnique<ImageFetcherImpl>(base::MakeUnique<ImageDecoderImpl>(),
request_context.get()),
base::MakeUnique<ImageDecoderImpl>(),

Powered by Google App Engine
This is Rietveld 408576698