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

Unified Diff: public/web/WebServiceWorkerContextProxy.h

Issue 1156703003: ServiceWorker: Introduce ExtendableMessageEvent to replace MessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update Created 5 years, 5 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
« no previous file with comments | « public/web/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebServiceWorkerContextProxy.h
diff --git a/public/web/WebServiceWorkerContextProxy.h b/public/web/WebServiceWorkerContextProxy.h
index ec71310cedf5532c6a87e84cbb6459c4626d0c09..99e2313dd335d9995feba4360d9714d8a622893b 100644
--- a/public/web/WebServiceWorkerContextProxy.h
+++ b/public/web/WebServiceWorkerContextProxy.h
@@ -39,6 +39,8 @@ namespace blink {
struct WebCircularGeofencingRegion;
struct WebCrossOriginServiceWorkerClient;
struct WebNotificationData;
+struct WebServiceWorkerClientInfo;
+class WebServiceWorker;
class WebServiceWorkerRegistration;
class WebServiceWorkerRequest;
class WebString;
@@ -57,7 +59,9 @@ public:
virtual void dispatchGeofencingEvent(int eventID, WebGeofencingEventType, const WebString& regionID, const WebCircularGeofencingRegion&) = 0;
- virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray& channels) = 0;
+ virtual void dispatchMessageEvent(int eventID, const WebServiceWorkerClientInfo&, const WebString& message, const WebMessagePortChannelArray& channels) = 0;
+
+ virtual void dispatchMessageEvent(int eventID, WebServiceWorker*, const WebString& message, const WebMessagePortChannelArray& channels) = 0;
virtual void dispatchNotificationClickEvent(int eventID, int64_t notificationID, const WebNotificationData&) = 0;
« no previous file with comments | « public/web/WebServiceWorkerContextClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698