Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

Issue 1701843002: ServiceWorker: Implement 'source' and 'origin' attributes of ExtendableMessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_focus_into_utils
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4c3fa2ed30791016326360a495dbecf0cf616102 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 WebMessagePortChannelArray&, const WebServiceWorkerClientInfo&) = 0;
+ virtual void dispatchExtendableMessageEvent(int eventID, const WebString& message, 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;

Powered by Google App Engine
This is Rietveld 408576698