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