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

Unified Diff: public/platform/WebServiceWorkerProviderClient.h

Issue 1143543002: ServiceWorker: Introduce ServiceWorkerMessageEvent to replace MessageEvent (1/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerProviderClient.h
diff --git a/public/platform/WebServiceWorkerProviderClient.h b/public/platform/WebServiceWorkerProviderClient.h
index d3b679500191a71681f482f6ea131b1bc114eb88..cff4efa3687ef34c272a13c8b264bd2b8bfc57ef 100644
--- a/public/platform/WebServiceWorkerProviderClient.h
+++ b/public/platform/WebServiceWorkerProviderClient.h
@@ -47,7 +47,12 @@ public:
virtual void setController(WebServiceWorker*, bool shouldNotifyControllerChange) = 0;
+ // FIXME: Remove this when Chrome side CL landed.
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) = 0;
+ virtual void dispatchMessageEvent(WebServiceWorker*, const WebString& message, const WebMessagePortChannelArray& channels)
+ {
+ return dispatchMessageEvent(message, channels);
+ }
};
} // namespace blink
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698