Index: content/common/push_messaging_messages.h |
diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h |
index df88b2f2a552f86ab65fa25563af10b709b9247a..f3710684a3d82fb1d79f524058293f8b8e8a6f47 100644 |
--- a/content/common/push_messaging_messages.h |
+++ b/content/common/push_messaging_messages.h |
@@ -86,14 +86,11 @@ IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetPermissionStatusError, |
// Messages sent from the child process to the browser. |
-IPC_MESSAGE_CONTROL4(PushMessagingHostMsg_SubscribeFromDocument, |
+// |render_frame_id| should be ChildProcessHost::kInvalidUniqueID for requests |
+// from a Service Worker. |
+IPC_MESSAGE_CONTROL4(PushMessagingHostMsg_Subscribe, |
int32_t /* render_frame_id */, |
int32_t /* request_id */, |
- content::PushSubscriptionOptions /* options */, |
- int64_t /* service_worker_registration_id */) |
- |
-IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_SubscribeFromWorker, |
- int32_t /* request_id */, |
int64_t /* service_worker_registration_id */, |
content::PushSubscriptionOptions /* options */) |