OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1985 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, | 1985 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, |
1986 std::string /* stream_url */) | 1986 std::string /* stream_url */) |
1987 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) | 1987 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) |
1988 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) | 1988 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) |
1989 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, | 1989 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, |
1990 ppapi::HostResource /* resource_id */, | 1990 ppapi::HostResource /* resource_id */, |
1991 PP_ImageDataDesc /* image_data_desc */, | 1991 PP_ImageDataDesc /* image_data_desc */, |
1992 PP_TimeTicks /* timestamp */) | 1992 PP_TimeTicks /* timestamp */) |
1993 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) | 1993 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) |
1994 | 1994 |
1995 // VPN Provider ---------------------------------------------------------------- | |
1996 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create) | |
1997 | |
1998 // VPN Provider Plugin -> Browser Messages | |
1999 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind, | |
2000 std::string /* configuration_id */, | |
2001 std::string /* configuration_name */) | |
2002 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket, | |
2003 uint32_t /* packet_size */, | |
2004 uint32_t /* id */) | |
2005 | |
2006 // VPN Provider Browser -> Plugin Replies | |
2007 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply, | |
bbudge
2016/05/17 13:34:39
It looks like you're cribbing from WebSocket. The
adrian.belgun
2016/05/17 15:25:29
Done.
| |
2008 uint32_t /* queue_depth */, | |
bbudge
2016/05/17 13:34:39
queue_size
adrian.belgun
2016/05/17 15:25:29
Done.
| |
2009 uint32_t /* max_packet_size */, | |
2010 int32_t /* status */) | |
2011 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply, | |
2012 int32_t /* id */) | |
2013 | |
2014 // VPN Provider Browser -> Plugin Messages | |
2015 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind) | |
2016 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived, | |
2017 uint32_t /* packet_size */, | |
2018 uint32_t /* id */) | |
2019 | |
2020 // VPN Provider Plugin --> Browser Replies | |
2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply, | |
2022 uint32_t /* id */) | |
2023 | |
1995 // WebSocket ------------------------------------------------------------------- | 2024 // WebSocket ------------------------------------------------------------------- |
1996 | 2025 |
1997 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) | 2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) |
1998 | 2027 |
1999 // Establishes the connection to a server. This message requires | 2028 // Establishes the connection to a server. This message requires |
2000 // WebSocket_ConnectReply as a reply message. | 2029 // WebSocket_ConnectReply as a reply message. |
2001 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, | 2030 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, |
2002 std::string /* url */, | 2031 std::string /* url */, |
2003 std::vector<std::string> /* protocols */) | 2032 std::vector<std::string> /* protocols */) |
2004 | 2033 |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2441 std::vector<ppapi::HostResource> /* buffers */, | 2470 std::vector<ppapi::HostResource> /* buffers */, |
2442 uint32_t /* buffer_size */) | 2471 uint32_t /* buffer_size */) |
2443 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2472 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
2444 uint32_t /* status */) | 2473 uint32_t /* status */) |
2445 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2474 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2446 uint32_t /* error */) | 2475 uint32_t /* error */) |
2447 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2476 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2448 uint32_t /* buffer */) | 2477 uint32_t /* buffer */) |
2449 | 2478 |
2450 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2479 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |