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

Side by Side Diff: chrome/browser/android/preferences/browser_prefs_android.cc

Issue 2360263002: [NTPSnippets] Show all downloads on the NTP (3/3): Downloads provider. (Closed)
Patch Set: the freshest rebase. Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/preferences/browser_prefs_android.h" 5 #include "chrome/browser/android/preferences/browser_prefs_android.h"
6 6
7 #include "blimp/client/public/blimp_client_context.h" 7 #include "blimp/client/public/blimp_client_context.h"
8 #include "chrome/browser/notifications/notification_platform_bridge_android.h" 8 #include "chrome/browser/notifications/notification_platform_bridge_android.h"
9 #include "chrome/browser/ntp_snippets/download_suggestions_provider.h"
9 #include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider. h" 10 #include "components/ntp_snippets/offline_pages/recent_tab_suggestions_provider. h"
10 #include "components/pref_registry/pref_registry_syncable.h" 11 #include "components/pref_registry/pref_registry_syncable.h"
11 #include "components/prefs/pref_registry_simple.h" 12 #include "components/prefs/pref_registry_simple.h"
12 13
13 namespace android { 14 namespace android {
14 15
15 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { 16 void RegisterUserProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
17 DownloadSuggestionsProvider::RegisterProfilePrefs(registry);
16 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry); 18 NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry);
17 ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry); 19 ntp_snippets::RecentTabSuggestionsProvider::RegisterProfilePrefs(registry);
18 blimp::client::BlimpClientContext::RegisterPrefs(registry); 20 blimp::client::BlimpClientContext::RegisterPrefs(registry);
19 } 21 }
20 22
21 } // namespace android 23 } // namespace android
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698