| Index: public/web/WebServiceWorkerContextClient.h
|
| diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h
|
| index 4d63b8389a3e08ce6126c4a024de8e134b12f7db..3118298353c941e36cefc1a0c056dbef52a4bd25 100644
|
| --- a/public/web/WebServiceWorkerContextClient.h
|
| +++ b/public/web/WebServiceWorkerContextClient.h
|
| @@ -34,6 +34,7 @@
|
| #include "WebWorkerPermissionClientProxy.h"
|
| #include "public/platform/WebMessagePortChannel.h"
|
| #include "public/platform/WebServiceWorkerClientFocusCallback.h"
|
| +#include "public/platform/WebServiceWorkerClientsClaimCallbacks.h"
|
| #include "public/platform/WebServiceWorkerClientsInfo.h"
|
| #include "public/platform/WebServiceWorkerEventResult.h"
|
| #include "public/platform/WebServiceWorkerSkipWaitingCallbacks.h"
|
| @@ -166,6 +167,10 @@ public:
|
| virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
|
|
|
| // Ownership of the passed callbacks is transferred to the callee, callee
|
| + // should delete the callbacks after run.
|
| + virtual void claim(WebServiceWorkerClientsClaimCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
|
| +
|
| + // Ownership of the passed callbacks is transferred to the callee, callee
|
| // should delete the callback after calling either onSuccess or onError.
|
| virtual void focus(int clientID, WebServiceWorkerClientFocusCallback* callback)
|
| {
|
|
|