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

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

Issue 10882024: Add webui handler for promotions on Android NTP. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase. Created 8 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
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 1e2a82484ceba19288be28bd5470e1970ccd2cb6..f750e51b449aad00c32a856a9c58c68ebed8604b 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -111,6 +111,10 @@
#include "chrome/browser/chrome_to_mobile_service.h"
#endif
+#if defined(OS_ANDROID)
+#include "chrome/browser/ui/webui/ntp/android/promo_handler.h"
+#endif
+
namespace {
enum MigratedPreferences {
@@ -234,6 +238,10 @@ void RegisterUserPrefs(PrefService* user_prefs) {
geolocation::RegisterUserPrefs(user_prefs);
#endif
+#if defined(OS_ANDROID)
battre 2012/08/29 21:04:19 any reason for not combining this with the previou
aruslan 2012/08/29 21:52:53 Yes, this is to avoid unnecessary conflicts during
battre 2012/08/29 21:58:24 Up to you. If it gets moved/deleted soon anyway th
+ PromoHandler::RegisterUserPrefs(user_prefs);
+#endif
+
#if defined(USE_ASH)
ash::RegisterChromeLauncherUserPrefs(user_prefs);
#endif
« no previous file with comments | « no previous file | chrome/browser/resources/ntp_android/new_tab.html » ('j') | chrome/browser/ui/webui/ntp/android/promo_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698