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

Unified Diff: public/platform/WebServiceWorkerProviderClient.h

Issue 263143004: Add blink-side plumbing for ServiceWorker -> Document postMessage (1/3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/web/FrameLoaderClientImpl.cpp ('k') | 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 c38a9965b045bfd8249ae8ba42f0fffe70c79203..8c3eba3f59336040c081b84f8b64b300880aa6dc 100644
--- a/public/platform/WebServiceWorkerProviderClient.h
+++ b/public/platform/WebServiceWorkerProviderClient.h
@@ -31,6 +31,8 @@
#ifndef WebServiceWorkerProviderClient_h
#define WebServiceWorkerProviderClient_h
+#include "public/platform/WebMessagePortChannel.h"
+
namespace blink {
class WebServiceWorker;
class WebString;
@@ -43,6 +45,8 @@ public:
// The callee will take ownership of the given WebServiceWorker object.
virtual void setCurrentServiceWorker(WebServiceWorker*) = 0;
+
+ virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) = 0;
};
};
« no previous file with comments | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698