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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 1926703002: ppapi: PPB_VpnProvider: Define PPAPI messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-api-headers
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1967 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, 1978 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1979 std::string /* stream_url */) 1979 std::string /* stream_url */)
1980 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1980 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1981 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1981 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1982 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, 1982 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
1983 ppapi::HostResource /* resource_id */, 1983 ppapi::HostResource /* resource_id */,
1984 PP_ImageDataDesc /* image_data_desc */, 1984 PP_ImageDataDesc /* image_data_desc */,
1985 PP_TimeTicks /* timestamp */) 1985 PP_TimeTicks /* timestamp */)
1986 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1986 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1987 1987
1988 // VPN Provider ----------------------------------------------------------------
1989 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
1990
1991 // VPN Provider Plugin -> Browser Messages
1992 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
1993 std::string /* configuration_id */,
1994 std::string /* configuration_name */)
1995 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket,
1996 uint32_t /* data_length */,
1997 uint32_t /* id */)
1998
1999 // VPN Provider Browser -> Plugin Replies
2000 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
2001 uint32_t /* queue_depth */,
2002 uint32_t /* packet_size */,
2003 int32_t /* status */)
2004 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
2005 int32_t /* id */)
2006
2007 // VPN Provider Browser -> Plugin Messages
2008 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind)
2009 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
2010 uint32_t /* data_length */,
2011 uint32_t /* id */)
2012
2013 // VPN Provider Plugin --> Browser Replies
2014 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
2015 uint32_t /* id */)
2016
1988 // WebSocket ------------------------------------------------------------------- 2017 // WebSocket -------------------------------------------------------------------
1989 2018
1990 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 2019 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
1991 2020
1992 // Establishes the connection to a server. This message requires 2021 // Establishes the connection to a server. This message requires
1993 // WebSocket_ConnectReply as a reply message. 2022 // WebSocket_ConnectReply as a reply message.
1994 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 2023 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
1995 std::string /* url */, 2024 std::string /* url */,
1996 std::vector<std::string> /* protocols */) 2025 std::vector<std::string> /* protocols */)
1997 2026
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2434 std::vector<ppapi::HostResource> /* buffers */, 2463 std::vector<ppapi::HostResource> /* buffers */,
2435 uint32_t /* buffer_size */) 2464 uint32_t /* buffer_size */)
2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2465 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2437 uint32_t /* status */) 2466 uint32_t /* status */)
2438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2467 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2439 uint32_t /* error */) 2468 uint32_t /* error */)
2440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2469 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2441 uint32_t /* buffer */) 2470 uint32_t /* buffer */)
2442 2471
2443 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2472 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698