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

Unified Diff: content/common/push_messaging_messages.h

Issue 340773006: Dispatch push event to worker from PushServiceImpl#OnMessage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Debugging. Created 6 years, 6 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 75b2b68472ac80ba8a83b3296188b585a3b5c63d..eae79a2ac70d48db83215fda090ca4183739dd5e 100644
--- a/content/common/push_messaging_messages.h
+++ b/content/common/push_messaging_messages.h
@@ -15,14 +15,16 @@
IPC_MESSAGE_ROUTED3(PushMessagingMsg_RegisterSuccess,
int32 /* callbacks_id */,
GURL /* endpoint */,
- std::string /* registration_id */)
+ std::string /* push_registration_id */)
IPC_MESSAGE_ROUTED1(PushMessagingMsg_RegisterError,
int32 /* callbacks_id */)
// Messages sent from the renderer to the browser.
-IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_Register,
+IPC_MESSAGE_CONTROL5(PushMessagingHostMsg_Register,
int32 /* routing_id */,
int32 /* callbacks_id */,
- std::string /* sender_id */)
+ std::string /* sender_id */,
+ GURL /* url of the registering document */,
+ int32 /* service_worker_provider_id */)

Powered by Google App Engine
This is Rietveld 408576698