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

Unified Diff: Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 318413002: Push API: define push event on Service Worker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/web/ServiceWorkerGlobalScopeProxy.h
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.h b/Source/web/ServiceWorkerGlobalScopeProxy.h
index ae084dc19ea333a2722673dd0b1426453f6ffb94..a260dab301a97236c9d235b08fa937272565351d 100644
--- a/Source/web/ServiceWorkerGlobalScopeProxy.h
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.h
@@ -32,6 +32,7 @@
#define ServiceWorkerGlobalScopeProxy_h
#include "core/workers/WorkerReportingProxy.h"
+#include "public/platform/WebString.h"
#include "public/web/WebServiceWorkerContextProxy.h"
#include "wtf/Forward.h"
#include "wtf/OwnPtr.h"
@@ -71,6 +72,7 @@ public:
virtual void dispatchInstallEvent(int) OVERRIDE;
virtual void dispatchFetchEvent(int, const WebServiceWorkerRequest&) OVERRIDE;
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) OVERRIDE;
+ virtual void dispatchPushEvent(int, const WebString& data) OVERRIDE;
virtual void dispatchSyncEvent(int) OVERRIDE;
// WorkerReportingProxy overrides:
« no previous file with comments | « Source/modules/push_messaging/ServiceWorkerGlobalScopePush.idl ('k') | Source/web/ServiceWorkerGlobalScopeProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698