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

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

Issue 2360263002: [NTPSnippets] Show all downloads on the NTP (3/3): Downloads provider. (Closed)
Patch Set: Marc's comments + Bernhard's comments + rebase. Created 4 years, 2 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 715d5ec631be55ec8232c00534fc39d7ce06c727..ccddf84afd0ba84f306b3e37d31094be568541c7 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -161,6 +161,7 @@
#if defined(OS_ANDROID)
#include "chrome/browser/notifications/notification_platform_bridge_android.h"
+#include "chrome/browser/ntp_snippets/download_suggestions_provider.h"
#include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider.h"
#else
#include "chrome/browser/services/gcm/gcm_product_util.h"
@@ -580,6 +581,7 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
#endif
#if defined(OS_ANDROID)
+ DownloadSuggestionsProvider::RegisterProfilePrefs(registry);
NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry);
ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry);
#else

Powered by Google App Engine
This is Rietveld 408576698