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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2360263002: [NTPSnippets] Show all downloads on the NTP (3/3): Downloads provider. (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index b444880d93846832b8482d4de3d7956fb7069e38..9eca600709d6818c343b580ca47c57968885987d 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -158,6 +158,7 @@
#if defined(OS_ANDROID)
#include "chrome/browser/notifications/notification_platform_bridge_android.h"
+#include "components/ntp_snippets/downloads/download_suggestions_provider.h"
#include "components/ntp_snippets/recent_tabs/recent_tab_suggestions_provider.h"
#else
#include "chrome/browser/services/gcm/gcm_product_util.h"
@@ -576,6 +577,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#if defined(OS_ANDROID)
NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry);
+ ntp_snippets::DownloadSuggestionsProvider::RegisterProfilePrefs(registry);
ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry);
#else
browser_sync::ForeignSessionHandler::RegisterProfilePrefs(registry);

Powered by Google App Engine
This is Rietveld 408576698