Index: content/common/push_messaging_messages.h |
diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h |
index 3849c5ab0021543ef8b56486a2640fe4ff99a7d3..f83f7368b25900d179129d20f7cc682636870be0 100644 |
--- a/content/common/push_messaging_messages.h |
+++ b/content/common/push_messaging_messages.h |
@@ -31,13 +31,15 @@ IPC_ENUM_TRAITS_MAX_VALUE( |
// Messages sent from the browser to the child process. |
-IPC_MESSAGE_ROUTED2(PushMessagingMsg_SubscribeFromDocumentSuccess, |
+IPC_MESSAGE_ROUTED3(PushMessagingMsg_SubscribeFromDocumentSuccess, |
int32_t /* request_id */, |
- GURL /* push_endpoint */) |
+ GURL /* push_endpoint */, |
+ std::vector<uint8_t> /* curve25519dh */) |
-IPC_MESSAGE_CONTROL2(PushMessagingMsg_SubscribeFromWorkerSuccess, |
+IPC_MESSAGE_CONTROL3(PushMessagingMsg_SubscribeFromWorkerSuccess, |
int32_t /* request_id */, |
- GURL /* push_endpoint */) |
+ GURL /* push_endpoint */, |
+ std::vector<uint8_t> /* curve25519dh */) |
IPC_MESSAGE_ROUTED2(PushMessagingMsg_SubscribeFromDocumentError, |
int32_t /* request_id */, |
@@ -56,9 +58,10 @@ IPC_MESSAGE_CONTROL3(PushMessagingMsg_UnsubscribeError, |
blink::WebPushError::ErrorType /* error_type */, |
std::string /* error_message */) |
-IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetRegistrationSuccess, |
+IPC_MESSAGE_CONTROL3(PushMessagingMsg_GetRegistrationSuccess, |
int32_t /* request_id */, |
- GURL /* push_endpoint */) |
+ GURL /* push_endpoint */, |
+ std::vector<uint8_t> /* curve25519dh */) |
IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetRegistrationError, |
int32_t /* request_id */, |
@@ -90,8 +93,9 @@ IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_Unsubscribe, |
int32_t /* request_id */, |
int64_t /* service_worker_registration_id */) |
-IPC_MESSAGE_CONTROL2(PushMessagingHostMsg_GetRegistration, |
+IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_GetRegistration, |
int32_t /* request_id */, |
+ GURL /* origin */, |
johnme
2015/07/09 16:02:53
It seems problematic to let the untrusted renderer
Peter Beverloo
2015/07/09 18:54:17
I don't buy that argument. Passing the origin woul
|
int64_t /* service_worker_registration_id */) |
IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_GetPermissionStatus, |