Index: content/common/service_worker/service_worker_messages.h |
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h |
index 8ba0e58e7f0164b5ef727990a8a32f726e0675ff..94e1f9340b42e5cd1d716b3267ca9425160a33e7 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -16,6 +16,7 @@ |
#include "content/public/common/message_port_types.h" |
#include "content/public/common/navigator_connect_client.h" |
#include "content/public/common/platform_notification_data.h" |
+#include "content/public/common/push_event_payload.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_param_traits.h" |
#include "third_party/WebKit/public/platform/WebCircularGeofencingRegion.h" |
@@ -133,6 +134,11 @@ IPC_STRUCT_TRAITS_BEGIN(content::NavigatorConnectClient) |
IPC_STRUCT_TRAITS_MEMBER(message_port_id) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(content::PushEventPayload) |
+ IPC_STRUCT_TRAITS_MEMBER(data_) |
+ IPC_STRUCT_TRAITS_MEMBER(is_null_) |
+IPC_STRUCT_TRAITS_END() |
+ |
//--------------------------------------------------------------------------- |
// Messages sent from the child process to the browser. |
@@ -444,7 +450,7 @@ IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_NotificationClickEvent, |
int /* action_index */) |
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_PushEvent, |
int /* request_id */, |
- std::string /* data */) |
+ content::PushEventPayload /* data */) |
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_GeofencingEvent, |
int /* request_id */, |
blink::WebGeofencingEventType /* event_type */, |