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

Unified Diff: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc

Issue 2673633002: [NTP::Downloads] Do not show old downloads. (Closed)
Patch Set: comments + clean rebase (sorry). Created 3 years, 10 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 | « no previous file | chrome/browser/ntp_snippets/download_suggestions_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
diff --git a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
index b3befc0d38ee143688df8522e50c1136b7af90f5..033f9c92c00a60122024a3dda5b732676bd5f9cd 100644
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
@@ -121,7 +121,7 @@ void RegisterDownloadsProvider(OfflinePageModel* offline_page_model,
PrefService* pref_service) {
auto provider = base::MakeUnique<DownloadSuggestionsProvider>(
service, offline_page_model, download_manager, download_history,
- pref_service);
+ pref_service, base::MakeUnique<base::DefaultClock>());
service->RegisterProvider(std::move(provider));
}
#endif // OS_ANDROID
« no previous file with comments | « no previous file | chrome/browser/ntp_snippets/download_suggestions_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698