Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / common / desktop_notification_messages.h
index 6f1f0c4..48506dd 100644 (file)
@@ -17,7 +17,6 @@ IPC_STRUCT_TRAITS_BEGIN(content::ShowDesktopNotificationHostMsgParams)
   IPC_STRUCT_TRAITS_MEMBER(body)
   IPC_STRUCT_TRAITS_MEMBER(direction)
   IPC_STRUCT_TRAITS_MEMBER(replace_id)
-  IPC_STRUCT_TRAITS_MEMBER(notification_id)
 IPC_STRUCT_TRAITS_END()
 
 // Messages sent from the browser to the renderer.
@@ -29,9 +28,8 @@ IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostDisplay,
 
 // Used to inform the renderer that the browser has encountered an error
 // trying to display a notification.
-IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostError,
-                    int /* notification_id */,
-                    base::string16 /* message */)
+IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PostError,
+                    int /* notification_id */)
 
 // Informs the renderer that the one if its notifications has closed.
 IPC_MESSAGE_ROUTED2(DesktopNotificationMsg_PostClose,
@@ -48,8 +46,9 @@ IPC_MESSAGE_ROUTED1(DesktopNotificationMsg_PermissionRequestDone,
 
 // Messages sent from the renderer to the browser.
 
-IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Show,
-                    content::ShowDesktopNotificationHostMsgParams)
+IPC_MESSAGE_ROUTED2(DesktopNotificationHostMsg_Show,
+                    int /* notification_id */,
+                    content::ShowDesktopNotificationHostMsgParams /* params */)
 
 IPC_MESSAGE_ROUTED1(DesktopNotificationHostMsg_Cancel,
                     int /* notification_id */)