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

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

Issue 2256183004: Use bookmark creation date fallback for 6 weeks after installing M54 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make another DCHECK more readable Created 4 years, 4 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/prefs/browser_prefs.cc » ('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 a2303ce83f9d5ecff08e298adbb183bf05a82251..bccb8aedf6b98c947db4f0f616e0999ee28c1c3e 100644
--- a/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
+++ b/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc
@@ -156,7 +156,8 @@ KeyedService* ContentSuggestionsServiceFactory::BuildServiceInstanceFor(
BookmarkModelFactory::GetForBrowserContext(profile);
std::unique_ptr<BookmarkSuggestionsProvider> bookmark_suggestions_provider =
base::MakeUnique<BookmarkSuggestionsProvider>(
- service, service->category_factory(), bookmark_model);
+ service, service->category_factory(), bookmark_model,
+ profile->GetPrefs());
service->RegisterProvider(std::move(bookmark_suggestions_provider));
}
« no previous file with comments | « no previous file | chrome/browser/prefs/browser_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698