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

Unified Diff: chrome/browser/notifications/notification_platform_bridge_android.h

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
Index: chrome/browser/notifications/notification_platform_bridge_android.h
diff --git a/chrome/browser/notifications/notification_platform_bridge_android.h b/chrome/browser/notifications/notification_platform_bridge_android.h
index a53ff3b659438cc3ec6a614e34d50071e5b1abc7..c3c612b2eb026b3ef5cc2ec4a8c2ff401d6c8554 100644
--- a/chrome/browser/notifications/notification_platform_bridge_android.h
+++ b/chrome/browser/notifications/notification_platform_bridge_android.h
@@ -15,6 +15,10 @@
#include "base/macros.h"
#include "chrome/browser/notifications/notification_platform_bridge.h"
+namespace user_prefs {
+class PrefRegistrySyncable;
+}
+
// Implementation of the NotificationPlatformBridge for Android, which defers to
// the Android framework for displaying notifications.
//
@@ -69,6 +73,8 @@ class NotificationPlatformBridgeAndroid : public NotificationPlatformBridge {
static bool RegisterNotificationPlatformBridge(JNIEnv* env);
+ static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
+
private:
// Contains information necessary in order to enable closing notifications
// that were not created by this instance of the manager. This list may not

Powered by Google App Engine
This is Rietveld 408576698