| Index: chrome/browser/notifications/persistent_notification_delegate.h
|
| diff --git a/chrome/browser/notifications/persistent_notification_delegate.h b/chrome/browser/notifications/persistent_notification_delegate.h
|
| index 3fc29a02b7ef9b22fccfe63c37aae17432e12e6a..50f84a084f71c32152e855eaaabe897a3e79d64b 100644
|
| --- a/chrome/browser/notifications/persistent_notification_delegate.h
|
| +++ b/chrome/browser/notifications/persistent_notification_delegate.h
|
| @@ -8,7 +8,7 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "chrome/browser/notifications/notification_delegate.h"
|
| +#include "chrome/browser/notifications/web_notification_delegate.h"
|
| #include "url/gurl.h"
|
|
|
| namespace content {
|
| @@ -18,7 +18,7 @@ class BrowserContext;
|
| // Delegate responsible for listening to the click event on persistent
|
| // notifications, to forward them to the PlatformNotificationService so that
|
| // JavaScript events can be fired on the associated Service Worker.
|
| -class PersistentNotificationDelegate : public NotificationDelegate {
|
| +class PersistentNotificationDelegate : public WebNotificationDelegate {
|
| public:
|
| PersistentNotificationDelegate(content::BrowserContext* browser_context,
|
| const std::string& notification_id,
|
| @@ -30,18 +30,11 @@ class PersistentNotificationDelegate : public NotificationDelegate {
|
| void Close(bool by_user) override;
|
| void Click() override;
|
| void ButtonClick(int button_index) override;
|
| - void SettingsClick() override;
|
| - bool ShouldDisplaySettingsButton() override;
|
| -
|
| - std::string id() const override;
|
|
|
| protected:
|
| ~PersistentNotificationDelegate() override;
|
|
|
| private:
|
| - content::BrowserContext* browser_context_;
|
| - std::string notification_id_;
|
| - GURL origin_;
|
| int notification_settings_index_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PersistentNotificationDelegate);
|
|
|