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

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

Issue 247943003: Allow compiling Android with notifications=1, add stubbed UI manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 11c7aa5c6d93375f9a1bab29f693d2370aa7e175..5f49f6942966beca5f7fcc5c55e9b90d4ff1af48 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -259,7 +259,8 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
policy::PolicyStatisticsCollector::RegisterPrefs(registry);
#endif
-#if defined(ENABLE_NOTIFICATIONS)
+#if defined(ENABLE_NOTIFICATIONS) && !defined(OS_ANDROID)
+ // Android does not use the message center for notifications.
MessageCenterNotificationManager::RegisterPrefs(registry);
#endif

Powered by Google App Engine
This is Rietveld 408576698