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

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

Issue 2395123002: Connecting UserClassifier to NtpSnippetsFetcher (Closed)
Patch Set: Rebase 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 2f251c3b48e1b5f21202eb7b9cde1a331bc08435..964d36c928b94289770f94ab815d38740dc420e3 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
@@ -160,7 +160,8 @@ IOSChromeContentSuggestionsServiceFactory::BuildServiceInstanceFor(
service->category_factory(), nullptr, 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()),
CreateIOSImageDecoder(task_runner),

Powered by Google App Engine
This is Rietveld 408576698