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

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 + tests + some corrections. 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 4dd2b1ebdc328cfc68c574072efa1113e5411f86..dfcd04e5ad471a6ab462ab51fb75524183e01d4a 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -159,6 +159,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"
@@ -577,6 +578,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