Index: public/web/WebServiceWorkerContextProxy.h |
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h |
index fb3c7a8c065ed16505bfa29efab9ba96204b26d1..b689f883a9d145d1f36c523b9153b1192082abae 100644 |
--- a/public/web/WebServiceWorkerContextProxy.h |
+++ b/public/web/WebServiceWorkerContextProxy.h |
@@ -35,6 +35,7 @@ |
namespace blink { |
+class WebServiceWorkerPushEventCallback; |
class WebString; |
// A proxy interface to talk to the worker's GlobalScope implementation. |
@@ -54,6 +55,10 @@ public: |
// Once the ServiceWorker has finished handling the sync event |
// didHandleSyncEvent is called on the context client. |
virtual void dispatchSyncEvent(int syncEventID) = 0; |
+ |
+ // Once the ServiceWorker has finished handling the push event |
+ // the callback is run. |
+ virtual void dispatchPushEvent(int eventID, const WebString& data, const WebServiceWorkerPushEventCallback&) = 0; |
kinuko
2014/05/22 04:33:19
nit: this callback interface doesn't look particul
Michael van Ouwerkerk
2014/05/23 18:32:03
I hoped you would know what this is for, this is t
kinuko
2014/05/26 04:03:00
Two questions:
* I know this is from the existing
|
}; |
} // namespace blink |