Index: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h |
diff --git a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h |
index 9516a3c39ba786b6e3fa20113039febd8ea64a14..6091d34b8fe2d35464da30f3fb933295a0c48244 100644 |
--- a/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h |
+++ b/third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h |
@@ -35,15 +35,17 @@ |
#include "public/platform/WebMessagePortChannel.h" |
#include "public/platform/WebPassOwnPtr.h" |
#include "public/platform/modules/navigator_services/WebServicePortCallbacks.h" |
+#include "public/platform/modules/serviceworker/WebServiceWorker.h" |
#include "public/platform/modules/serviceworker/WebServiceWorkerRegistration.h" |
namespace blink { |
+class WebServiceWorkerRequest; |
+class WebString; |
struct WebCircularGeofencingRegion; |
struct WebCrossOriginServiceWorkerClient; |
struct WebNotificationData; |
-class WebServiceWorkerRequest; |
-class WebString; |
+struct WebServiceWorkerClientInfo; |
struct WebSyncRegistration; |
// A proxy interface to talk to the worker's GlobalScope implementation. |
@@ -55,7 +57,8 @@ public: |
virtual void setRegistration(WebPassOwnPtr<WebServiceWorkerRegistration::Handle>) = 0; |
virtual void dispatchActivateEvent(int eventID) = 0; |
- virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebMessagePortChannelArray&) = 0; |
+ virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, const WebServiceWorkerClientInfo&) = 0; |
+ virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, const WebSecurityOrigin& sourceOrigin, const WebMessagePortChannelArray&, WebPassOwnPtr<WebServiceWorker::Handle>) = 0; |
virtual void dispatchInstallEvent(int eventID) = 0; |
virtual void dispatchFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0; |
virtual void dispatchForeignFetchEvent(int eventID, const WebServiceWorkerRequest& webRequest) = 0; |