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

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 87590148b2b4f3feb2c7639e47aa0d92d11a0fff..41d4bd10097d130d5b34ab6ff5140901f22de93f 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(), 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