| Index: chrome/browser/notifications/desktop_notification_service.h
|
| diff --git a/chrome/browser/notifications/desktop_notification_service.h b/chrome/browser/notifications/desktop_notification_service.h
|
| index f337c9fbfd0323dfa5b89b1d2111d5bfbf0da076..5ed01da420e95b88108151c8131293cdac2110ad 100644
|
| --- a/chrome/browser/notifications/desktop_notification_service.h
|
| +++ b/chrome/browser/notifications/desktop_notification_service.h
|
| @@ -89,7 +89,7 @@ class DesktopNotificationService : public PermissionContextBase
|
| const PermissionRequestID& request_id,
|
| const GURL& requesting_origin,
|
| bool user_gesture,
|
| - const NotificationPermissionCallback& callback);
|
| + const base::Callback<void(bool)>& result_callback);
|
|
|
| // Show a desktop notification. If |cancel_callback| is non-null, it's set to
|
| // a callback which can be used to cancel the notification.
|
| @@ -121,12 +121,6 @@ class DesktopNotificationService : public PermissionContextBase
|
| // Called when the disabled_extension_id pref has been changed.
|
| void OnDisabledExtensionIdsChanged();
|
|
|
| - // Used as a callback once a permission has been decided to convert |allowed|
|
| - // to one of the blink::WebNotificationPermission values.
|
| - void OnNotificationPermissionRequested(
|
| - const base::Callback<void(blink::WebNotificationPermission)>& callback,
|
| - bool allowed);
|
| -
|
| void FirePermissionLevelChangedEvent(
|
| const message_center::NotifierId& notifier_id,
|
| bool enabled);
|
|
|