Index: public/web/WebServiceWorkerContextProxy.h |
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h |
index 07278c096a2bde929777c501da601dda43e019cd..d6d02a137326cfe72a5f17b57e0a6ad7511657f7 100644 |
--- a/public/web/WebServiceWorkerContextProxy.h |
+++ b/public/web/WebServiceWorkerContextProxy.h |
@@ -31,6 +31,8 @@ |
#ifndef WebServiceWorkerContextProxy_h |
#define WebServiceWorkerContextProxy_h |
+#include "public/platform/WebMessagePortChannel.h" |
+ |
namespace blink { |
class WebString; |
@@ -46,6 +48,8 @@ public: |
// FIXME: This needs to pass the fetch request info. |
virtual void dispatchFetchEvent(int fetchEventID) = 0; |
+ virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray& channels) = 0; |
+ |
virtual void resumeWorkerContext() { } |
virtual void attachDevTools() { } |
virtual void reattachDevTools(const WebString& savedState) { } |