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

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 unit-test 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
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 39bc08887d118e69f3c3cc90afc05e051a93f3e8..f0edcd579c354aec1e65db7febc00ca7738d7c24 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());

Powered by Google App Engine
This is Rietveld 408576698