| Index: content/common/platform_notification_messages.h
|
| diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
|
| index 7f27b8b4168279463cb5ce5f714016de3a523def..56f4bb9e93145be8100e36bac6f60abc82e6268a 100644
|
| --- a/content/common/platform_notification_messages.h
|
| +++ b/content/common/platform_notification_messages.h
|
| @@ -66,6 +66,15 @@ IPC_STRUCT_TRAITS_BEGIN(content::NotificationResources)
|
| IPC_STRUCT_TRAITS_MEMBER(action_icons)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_BEGIN(PlatformNotificationHostMsg_ShowPersistent_Params)
|
| + IPC_STRUCT_MEMBER(int, request_id)
|
| + IPC_STRUCT_MEMBER(int64_t, service_worker_registration_id)
|
| + IPC_STRUCT_MEMBER(GURL, service_worker_scope)
|
| + IPC_STRUCT_MEMBER(GURL, origin)
|
| + IPC_STRUCT_MEMBER(content::PlatformNotificationData, notification_data)
|
| + IPC_STRUCT_MEMBER(content::NotificationResources, notification_resources)
|
| +IPC_STRUCT_END()
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| // Informs the renderer that the browser has displayed the notification.
|
| @@ -103,13 +112,9 @@ IPC_MESSAGE_CONTROL4(
|
| content::PlatformNotificationData /* notification_data */,
|
| content::NotificationResources /* notification_resources */)
|
|
|
| -IPC_MESSAGE_CONTROL5(
|
| +IPC_MESSAGE_CONTROL1(
|
| PlatformNotificationHostMsg_ShowPersistent,
|
| - int /* request_id */,
|
| - int64_t /* service_worker_registration_id */,
|
| - GURL /* origin */,
|
| - content::PlatformNotificationData /* notification_data */,
|
| - content::NotificationResources /* notification_resources */)
|
| + PlatformNotificationHostMsg_ShowPersistent_Params /* params */)
|
|
|
| IPC_MESSAGE_CONTROL4(PlatformNotificationHostMsg_GetNotifications,
|
| int /* request_id */,
|
|
|