Index: public/web/WebServiceWorkerContextClient.h |
diff --git a/public/web/WebServiceWorkerContextClient.h b/public/web/WebServiceWorkerContextClient.h |
index 653faff864b5e28b1d75121579ca5f4e099105cf..ee20086fb9200bbd7f72a11bd889cd527913dbe6 100644 |
--- a/public/web/WebServiceWorkerContextClient.h |
+++ b/public/web/WebServiceWorkerContextClient.h |
@@ -35,6 +35,7 @@ |
#include "public/platform/WebMessagePortChannel.h" |
#include "public/platform/WebServiceWorkerClientsInfo.h" |
#include "public/platform/WebServiceWorkerEventResult.h" |
+#include "public/platform/WebServiceWorkerSkipWaitingCallbacks.h" |
#include "public/platform/WebURL.h" |
namespace blink { |
@@ -150,6 +151,10 @@ public: |
// 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(); } |
+ |
+ // Ownership of the passed callbacks is transferred to the callee, callee |
+ // should delete the callbacks after run. |
+ virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
}; |
} // namespace blink |