Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1185)

Unified Diff: content/common/push_messaging_messages.h

Issue 1154303003: Move push endpoint concatenation up to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/push_messaging_messages.h
diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h
index e0f25618d55179d71005830b1b1a32e97ff93bac..3849c5ab0021543ef8b56486a2640fe4ff99a7d3 100644
--- a/content/common/push_messaging_messages.h
+++ b/content/common/push_messaging_messages.h
@@ -31,15 +31,13 @@ IPC_ENUM_TRAITS_MAX_VALUE(
// Messages sent from the browser to the child process.
-IPC_MESSAGE_ROUTED3(PushMessagingMsg_SubscribeFromDocumentSuccess,
+IPC_MESSAGE_ROUTED2(PushMessagingMsg_SubscribeFromDocumentSuccess,
int32_t /* request_id */,
- GURL /* push_endpoint */,
- std::string /* push_subscription_id */)
+ GURL /* push_endpoint */)
-IPC_MESSAGE_CONTROL3(PushMessagingMsg_SubscribeFromWorkerSuccess,
+IPC_MESSAGE_CONTROL2(PushMessagingMsg_SubscribeFromWorkerSuccess,
int32_t /* request_id */,
- GURL /* push_endpoint */,
- std::string /* push_subscription_id */)
+ GURL /* push_endpoint */)
IPC_MESSAGE_ROUTED2(PushMessagingMsg_SubscribeFromDocumentError,
int32_t /* request_id */,
@@ -58,10 +56,9 @@ IPC_MESSAGE_CONTROL3(PushMessagingMsg_UnsubscribeError,
blink::WebPushError::ErrorType /* error_type */,
std::string /* error_message */)
-IPC_MESSAGE_CONTROL3(PushMessagingMsg_GetRegistrationSuccess,
+IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetRegistrationSuccess,
int32_t /* request_id */,
- GURL /* push_endpoint */,
- std::string /* push_subscription_id */)
+ GURL /* push_endpoint */)
IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetRegistrationError,
int32_t /* request_id */,
« no previous file with comments | « content/child/push_messaging/push_provider.cc ('k') | content/renderer/push_messaging/push_messaging_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698