| Index: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
|
| diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
|
| index f8476085c4870a038176866e5c7eff2bce6851d2..38d56dac73daf45c64c107d56c4551f55640b4d5 100644
|
| --- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
|
| +++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef ServiceWorkerGlobalScopeClient_h
|
| #define ServiceWorkerGlobalScopeClient_h
|
|
|
| +#include "core/dom/MessagePort.h"
|
| #include "core/workers/WorkerClients.h"
|
| #include "public/platform/WebCallbacks.h"
|
| #include "public/platform/WebServiceWorkerClientsInfo.h"
|
| @@ -61,6 +62,7 @@ public:
|
| // A null response means no valid response was provided by the service worker, so fallback to native.
|
| virtual void didHandleFetchEvent(int fetchEventID, PassRefPtr<Response> = nullptr) = 0;
|
| virtual void didHandleSyncEvent(int syncEventID) = 0;
|
| + virtual void postMessageToClient(int clientID, PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray>) = 0;
|
|
|
| static const char* supplementName();
|
| static ServiceWorkerGlobalScopeClient* from(ExecutionContext*);
|
|
|