OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, no traditional include guard | 5 // Multiply-included message file, no traditional include guard |
| 6 #include "content/common/content_export.h" |
6 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
7 #include "ipc/ipc_platform_file.h" | 8 #include "ipc/ipc_platform_file.h" |
8 #include "ppapi/c/private/ppb_flash_net_connector.h" | 9 #include "ppapi/c/private/ppb_flash_net_connector.h" |
9 #include "ppapi/proxy/ppapi_param_traits.h" | 10 #include "ppapi/proxy/ppapi_param_traits.h" |
10 | 11 |
| 12 #undef IPC_MESSAGE_EXPORT |
| 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
11 #define IPC_MESSAGE_START PepperMsgStart | 14 #define IPC_MESSAGE_START PepperMsgStart |
12 | 15 |
13 // Pepper (non-file-system) messages sent from the browser to the renderer. | 16 // Pepper (non-file-system) messages sent from the browser to the renderer. |
14 | 17 |
15 // The response to PepperMsg_ConnectTcp(Address). | 18 // The response to PepperMsg_ConnectTcp(Address). |
16 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK, | 19 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK, |
17 int /* request_id */, | 20 int /* request_id */, |
18 IPC::PlatformFileForTransit /* socket */, | 21 IPC::PlatformFileForTransit /* socket */, |
19 PP_Flash_NetAddress /* local_addr */, | 22 PP_Flash_NetAddress /* local_addr */, |
20 PP_Flash_NetAddress /* remote_addr */) | 23 PP_Flash_NetAddress /* remote_addr */) |
21 | 24 |
22 // Pepper (non-file-system) messages sent from the renderer to the browser. | 25 // Pepper (non-file-system) messages sent from the renderer to the browser. |
23 | 26 |
24 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp, | 27 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp, |
25 int /* routing_id */, | 28 int /* routing_id */, |
26 int /* request_id */, | 29 int /* request_id */, |
27 std::string /* host */, | 30 std::string /* host */, |
28 uint16 /* port */) | 31 uint16 /* port */) |
29 | 32 |
30 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress, | 33 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress, |
31 int /* routing_id */, | 34 int /* routing_id */, |
32 int /* request_id */, | 35 int /* request_id */, |
33 PP_Flash_NetAddress /* addr */) | 36 PP_Flash_NetAddress /* addr */) |
34 | 37 |
35 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, | 38 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, |
36 base::Time /* t */, | 39 base::Time /* t */, |
37 double /* result */) | 40 double /* result */) |
OLD | NEW |