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

Unified Diff: ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc

Issue 2395123002: Connecting UserClassifier to NtpSnippetsFetcher (Closed)
Patch Set: A minor 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: 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 61199b19fff44123e83a89629795368927b2d9d3..7c0a24c707a76faa7d96858f59d617be6e35208d 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
@@ -166,7 +166,8 @@ IOSChromeContentSuggestionsServiceFactory::BuildServiceInstanceFor(
service->category_factory(), base::Bind(&ParseJson),
GetChannel() == version_info::Channel::STABLE
? google_apis::GetAPIKey()
- : google_apis::GetNonStableAPIKey()),
+ : google_apis::GetNonStableAPIKey(),
+ service->user_classifier()),
base::MakeUnique<ImageFetcherImpl>(
request_context.get(), web::WebThread::GetBlockingPool()),
base::MakeUnique<IOSImageDecoderImpl>(),

Powered by Google App Engine
This is Rietveld 408576698