| Index: public/web/WebServiceWorkerContextProxy.h
|
| diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h
|
| index ec71310cedf5532c6a87e84cbb6459c4626d0c09..84b183225e59c83d30c9f5ccba301ce40842e17d 100644
|
| --- a/public/web/WebServiceWorkerContextProxy.h
|
| +++ b/public/web/WebServiceWorkerContextProxy.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "public/platform/WebGeofencingEventType.h"
|
| #include "public/platform/WebMessagePortChannel.h"
|
| +#include "public/platform/modules/navigator_services/WebServicePortCallbacks.h"
|
|
|
| namespace blink {
|
|
|
| @@ -67,6 +68,9 @@ public:
|
|
|
| virtual void dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient&, const WebString& message, const WebMessagePortChannelArray&) = 0;
|
|
|
| + // Passes ownership of the callbacks.
|
| + virtual void dispatchServicePortConnectEvent(WebServicePortConnectEventCallbacks*, const WebURL& targetURL, const WebString& origin, WebServicePortID) = 0;
|
| +
|
| // Once the ServiceWorker has finished handling the sync event
|
| // didHandleSyncEvent is called on the context client.
|
| virtual void dispatchSyncEvent(int syncEventID) = 0;
|
|
|