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

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

Issue 2039953002: Add a preference for disabling vibration in notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Address Dan's comments. Created 4 years, 6 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
« no previous file with comments | « chrome/browser/notifications/notification_platform_bridge_android.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 9fa140ae915edd6ba90aecc7b22879ea05e94eb6..e4bd9025ba0e3d38590d39b87474e8597ac82c4e 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -199,6 +199,10 @@
#include "chrome/browser/extensions/default_apps.h"
#endif
+#if defined(OS_ANDROID)
+#include "chrome/browser/notifications/notification_platform_bridge_android.h"
+#endif
+
#if defined(OS_CHROMEOS) && defined(ENABLE_APP_LIST)
#include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h"
#endif
@@ -529,6 +533,10 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
default_apps::RegisterProfilePrefs(registry);
#endif
+#if defined(OS_ANDROID)
+ NotificationPlatformBridgeAndroid::RegisterProfilePrefs(registry);
+#endif
+
#if defined(OS_CHROMEOS)
arc::ArcAuthService::RegisterProfilePrefs(registry);
chromeos::first_run::RegisterProfilePrefs(registry);
« no previous file with comments | « chrome/browser/notifications/notification_platform_bridge_android.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698