Index: public/web/WebServiceWorkerContextProxy.h |
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h |
index eec3d6e4f235227f25f08698fed81ea2b48af7da..366e4051f2435794173f541af572b36bd47fae45 100644 |
--- a/public/web/WebServiceWorkerContextProxy.h |
+++ b/public/web/WebServiceWorkerContextProxy.h |
@@ -37,6 +37,7 @@ |
namespace blink { |
struct WebCircularGeofencingRegion; |
+struct WebNotificationData; |
class WebServiceWorkerRequest; |
class WebString; |
@@ -57,6 +58,9 @@ public: |
virtual void dispatchPushEvent(int eventID, const WebString& data) = 0; |
+ virtual void dispatchNotificationClickEvent(int eventID, const WebNotificationData&) = 0; |
+ virtual void dispatchNotificationErrorEvent(int eventID, const WebNotificationData&) = 0; |
+ |
// Once the ServiceWorker has finished handling the sync event |
// didHandleSyncEvent is called on the context client. |
virtual void dispatchSyncEvent(int syncEventID) = 0; |