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 "content/common/content_export.h" |
7 #include "ipc/ipc_message_macros.h" | 7 #include "ipc/ipc_message_macros.h" |
8 #include "ipc/ipc_platform_file.h" | 8 #include "ipc/ipc_platform_file.h" |
9 #include "ppapi/c/private/ppb_flash_net_connector.h" | 9 #include "ppapi/c/private/ppb_flash_net_connector.h" |
10 #include "ppapi/proxy/ppapi_param_traits.h" | 10 #include "ppapi/proxy/ppapi_param_traits.h" |
11 | 11 |
12 #undef IPC_MESSAGE_EXPORT | 12 #undef IPC_MESSAGE_EXPORT |
13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 13 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
14 #define IPC_MESSAGE_START PepperMsgStart | 14 #define IPC_MESSAGE_START PepperMsgStart |
15 | 15 |
16 // 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. |
17 | 17 |
18 // The response to PepperMsg_ConnectTcp(Address). | 18 // The response to PepperMsg_ConnectTcp(Address). |
19 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK, | 19 IPC_MESSAGE_ROUTED4(PepperMsg_ConnectTcpACK, |
20 int /* request_id */, | 20 int /* request_id */, |
21 IPC::PlatformFileForTransit /* socket */, | 21 IPC::PlatformFileForTransit /* socket */, |
22 PP_Flash_NetAddress /* local_addr */, | 22 PP_NetAddress_Private /* local_addr */, |
23 PP_Flash_NetAddress /* remote_addr */) | 23 PP_NetAddress_Private /* remote_addr */) |
24 | 24 |
25 // 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. |
26 | 26 |
27 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp, | 27 IPC_MESSAGE_CONTROL4(PepperMsg_ConnectTcp, |
28 int /* routing_id */, | 28 int /* routing_id */, |
29 int /* request_id */, | 29 int /* request_id */, |
30 std::string /* host */, | 30 std::string /* host */, |
31 uint16 /* port */) | 31 uint16 /* port */) |
32 | 32 |
33 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress, | 33 IPC_MESSAGE_CONTROL3(PepperMsg_ConnectTcpAddress, |
34 int /* routing_id */, | 34 int /* routing_id */, |
35 int /* request_id */, | 35 int /* request_id */, |
36 PP_Flash_NetAddress /* addr */) | 36 PP_NetAddress_Private /* addr */) |
37 | 37 |
38 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, | 38 IPC_SYNC_MESSAGE_CONTROL1_1(PepperMsg_GetLocalTimeZoneOffset, |
39 base::Time /* t */, | 39 base::Time /* t */, |
40 double /* result */) | 40 double /* result */) |
OLD | NEW |