| Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| index fa46ac4f5657c2f79490c45288e3d064a835fb19..fd57a25e3f535686d1637e0a91ac925b480e97a9 100644
|
| --- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| +++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef WebServiceWorkerContextProxy_h
|
| #define WebServiceWorkerContextProxy_h
|
|
|
| +#include "mojo/public/cpp/bindings/struct_ptr.h"
|
| #include "public/platform/WebGeofencingEventType.h"
|
| #include "public/platform/WebMessagePortChannel.h"
|
| #include "public/platform/modules/serviceworker/WebServiceWorker.h"
|
| @@ -40,6 +41,13 @@
|
|
|
| namespace blink {
|
|
|
| +namespace mojom {
|
| +namespace blink {
|
| +class Notification;
|
| +using NotificationPtr = mojo::StructPtr<Notification>;
|
| +}
|
| +}
|
| +
|
| class WebServiceWorkerRequest;
|
| class WebString;
|
| struct WebCircularGeofencingRegion;
|
| @@ -61,8 +69,8 @@ public:
|
| virtual void dispatchFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0;
|
| virtual void dispatchForeignFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0;
|
| virtual void dispatchGeofencingEvent(int eventID, WebGeofencingEventType, const WebString& regionID, const WebCircularGeofencingRegion&) = 0;
|
| - virtual void dispatchNotificationClickEvent(int eventID, int64_t notificationID, const WebNotificationData&, int actionIndex) = 0;
|
| - virtual void dispatchNotificationCloseEvent(int eventID, int64_t notificationID, const WebNotificationData&) = 0;
|
| + virtual void dispatchNotificationClickEvent(int eventID, mojom::blink::NotificationPtr notification, int actionIndex) = 0;
|
| + virtual void dispatchNotificationCloseEvent(int eventID, mojom::blink::NotificationPtr notification) = 0;
|
| virtual void dispatchPushEvent(int eventID, const WebString& data) = 0;
|
|
|
| enum LastChanceOption {
|
|
|