Index: content/browser/service_worker/service_worker_version.h |
diff --git a/content/browser/service_worker/service_worker_version.h b/content/browser/service_worker/service_worker_version.h |
index 96c54453043cc695265eb67c440b6f02a2f8f172..a1be7ea8d83ea67a467b2080a16583a450814cf7 100644 |
--- a/content/browser/service_worker/service_worker_version.h |
+++ b/content/browser/service_worker/service_worker_version.h |
@@ -53,6 +53,7 @@ class ServiceWorkerRegistration; |
class ServiceWorkerURLRequestJob; |
struct NavigatorConnectClient; |
struct PlatformNotificationData; |
+struct PushEventPayload; |
struct ServiceWorkerClientInfo; |
struct ServiceWorkerVersionInfo; |
struct TransferredMessagePort; |
@@ -276,7 +277,7 @@ class CONTENT_EXPORT ServiceWorkerVersion |
// |
// This must be called when the status() is ACTIVATED. |
void DispatchPushEvent(const StatusCallback& callback, |
- const std::string& data); |
+ const content::PushEventPayload& payload); |
Peter Beverloo
2016/01/26 12:35:18
s/content:://
harkness
2016/01/26 14:49:20
Done.
|
// Sends a cross origin message event to the associated embedded worker and |
// asynchronously calls |callback| when the message was sent (or failed to |