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 2759943002: [Remote suggestions] Do not fetch before EULA accepted (Closed)
Patch Set: Fix compilation Created 3 years, 9 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
« no previous file with comments | « components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.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 75261c580c9982ea67f91544114364aa17cfe521..61a95b404db7175fb5c31878ee8d9f35416670da 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
@@ -185,6 +185,7 @@ IOSChromeContentSuggestionsServiceFactory::BuildServiceInstanceFor(
base::MakeUnique<SchedulingRemoteSuggestionsProvider>(
service.get(), std::move(provider),
/*persistent_scheduler=*/nullptr, service->user_classifier(), prefs,
+ GetApplicationContext()->GetLocalState(),
base::MakeUnique<base::DefaultClock>());
provider_raw->SetRemoteSuggestionsScheduler(scheduling_provider.get());
service->set_remote_suggestions_provider(scheduling_provider.get());
« no previous file with comments | « components/ntp_snippets/remote/scheduling_remote_suggestions_provider_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698