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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for push messaging. 5 // IPC messages for push messaging.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
11 #define IPC_MESSAGE_START PushMessagingMsgStart 11 #define IPC_MESSAGE_START PushMessagingMsgStart
12 12
13 // Messages sent from the browser to the renderer. 13 // Messages sent from the browser to the renderer.
14 14
15 IPC_MESSAGE_ROUTED3(PushMessagingMsg_RegisterSuccess, 15 IPC_MESSAGE_ROUTED3(PushMessagingMsg_RegisterSuccess,
16 int32 /* callbacks_id */, 16 int32 /* callbacks_id */,
17 GURL /* endpoint */, 17 GURL /* endpoint */,
18 std::string /* registration_id */) 18 std::string /* push_registration_id */)
19 19
20 IPC_MESSAGE_ROUTED1(PushMessagingMsg_RegisterError, 20 IPC_MESSAGE_ROUTED1(PushMessagingMsg_RegisterError,
21 int32 /* callbacks_id */) 21 int32 /* callbacks_id */)
22 22
23 // Messages sent from the renderer to the browser. 23 // Messages sent from the renderer to the browser.
24 24
25 IPC_MESSAGE_CONTROL3(PushMessagingHostMsg_Register, 25 IPC_MESSAGE_CONTROL5(PushMessagingHostMsg_Register,
26 int32 /* routing_id */, 26 int32 /* routing_id */,
27 int32 /* callbacks_id */, 27 int32 /* callbacks_id */,
28 std::string /* sender_id */) 28 std::string /* sender_id */,
29 GURL /* url of the registering document */,
30 int32 /* service_worker_provider_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698