| Index: content/common/push_messaging_messages.h
|
| diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h
|
| index 29d8f80de8dcdcbab4c252e49d40120fdd8d1de1..cd5e93edb7b8531764e060fd7c70f7f187127089 100644
|
| --- a/content/common/push_messaging_messages.h
|
| +++ b/content/common/push_messaging_messages.h
|
| @@ -5,11 +5,15 @@
|
| // IPC messages for push messaging.
|
| // Multiply-included message file, hence no include guard.
|
|
|
| +#include "content/public/common/push_messaging_status.h"
|
| #include "ipc/ipc_message_macros.h"
|
| #include "url/gurl.h"
|
|
|
| #define IPC_MESSAGE_START PushMessagingMsgStart
|
|
|
| +IPC_ENUM_TRAITS_MAX_VALUE(content::PushMessagingStatus,
|
| + content::PUSH_MESSAGING_STATUS_LAST)
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| IPC_MESSAGE_ROUTED3(PushMessagingMsg_RegisterSuccess,
|
| @@ -17,8 +21,9 @@ IPC_MESSAGE_ROUTED3(PushMessagingMsg_RegisterSuccess,
|
| GURL /* push_endpoint */,
|
| std::string /* push_registration_id */)
|
|
|
| -IPC_MESSAGE_ROUTED1(PushMessagingMsg_RegisterError,
|
| - int32 /* callbacks_id */)
|
| +IPC_MESSAGE_ROUTED2(PushMessagingMsg_RegisterError,
|
| + int32 /* callbacks_id */,
|
| + content::PushMessagingStatus /* status */)
|
|
|
| // Messages sent from the renderer to the browser.
|
|
|
|
|