| Index: content/browser/notifications/page_notification_delegate.h
|
| diff --git a/content/browser/notifications/page_notification_delegate.h b/content/browser/notifications/page_notification_delegate.h
|
| index fd45f9152bc25b5e20eb3cab6c53afa77ab71a05..b3439158f535402f5ab85f124d32513fa888cf8e 100644
|
| --- a/content/browser/notifications/page_notification_delegate.h
|
| +++ b/content/browser/notifications/page_notification_delegate.h
|
| @@ -6,6 +6,7 @@
|
| #define CONTENT_BROWSER_NOTIFICATIONS_PAGE_NOTIFICATION_DELEGATE_H_
|
|
|
| #include "content/public/browser/desktop_notification_delegate.h"
|
| +#include "third_party/WebKit/public/platform/modules/notifications/notification_service.mojom.h"
|
|
|
| namespace content {
|
|
|
| @@ -14,7 +15,8 @@ namespace content {
|
| // that of the page displaying them.
|
| class PageNotificationDelegate : public DesktopNotificationDelegate {
|
| public:
|
| - PageNotificationDelegate(int render_process_id, int notification_id);
|
| + explicit PageNotificationDelegate(
|
| + blink::mojom::NotificationClientPtr notification_client);
|
| ~PageNotificationDelegate() override;
|
|
|
| // DesktopNotificationDelegate implementation.
|
| @@ -23,8 +25,8 @@ class PageNotificationDelegate : public DesktopNotificationDelegate {
|
| void NotificationClick() override;
|
|
|
| private:
|
| - int render_process_id_;
|
| - int notification_id_;
|
| + // The client to which events will be dispatched.
|
| + blink::mojom::NotificationClientPtr notification_client_;
|
| };
|
|
|
| } // namespace content
|
|
|