| Index: public/web/WebServiceWorkerContextClient.h
|
| diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h
|
| index 9e1ceb5c2d847cc5307c123402734e92ba21328c..2635d051cfdfacf0f9e5c457492547d2a068ef93 100644
|
| --- a/public/web/WebServiceWorkerContextClient.h
|
| +++ b/public/web/WebServiceWorkerContextClient.h
|
| @@ -36,6 +36,7 @@
|
| #include "public/platform/WebServiceWorkerClientFocusCallback.h"
|
| #include "public/platform/WebServiceWorkerClientsInfo.h"
|
| #include "public/platform/WebServiceWorkerEventResult.h"
|
| +#include "public/platform/WebServiceWorkerOpenWindowCallbacks.h"
|
| #include "public/platform/WebServiceWorkerSkipWaitingCallbacks.h"
|
| #include "public/platform/WebURL.h"
|
|
|
| @@ -154,6 +155,10 @@ public:
|
| // passed to the WebServiceWorkerClientsCallbacks implementation.
|
| virtual void getClients(WebServiceWorkerClientsCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
|
|
|
| + // Ownership of the passed callbacks is transferred to the callee, callee
|
| + // should delete the callbacks after run.
|
| + virtual void openWindow(const WebURL& url, WebServiceWorkerOpenWindowCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
|
| +
|
| // Callee receives ownership of the passed vector.
|
| // FIXME: Blob refs should be passed to maintain ref counts. crbug.com/351753
|
| virtual void postMessageToClient(int clientID, const WebString&, WebMessagePortChannelArray*) { BLINK_ASSERT_NOT_REACHED(); }
|
|
|