| 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..315fe11e8a42e6f61d0120ac9ab427060e4e02f1 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(m_data)
|
| + IPC_STRUCT_TRAITS_MEMBER(m_isNull)
|
| +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 */,
|
|
|