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

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

Issue 1726303003: ppapi: PPB_VpnProvider: Define API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify IDL Created 4 years, 9 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
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 29 matching lines...) Expand all
40 #include "ppapi/c/pp_resource.h" 40 #include "ppapi/c/pp_resource.h"
41 #include "ppapi/c/pp_size.h" 41 #include "ppapi/c/pp_size.h"
42 #include "ppapi/c/pp_time.h" 42 #include "ppapi/c/pp_time.h"
43 #include "ppapi/c/ppb_audio_config.h" 43 #include "ppapi/c/ppb_audio_config.h"
44 #include "ppapi/c/ppb_compositor_layer.h" 44 #include "ppapi/c/ppb_compositor_layer.h"
45 #include "ppapi/c/ppb_image_data.h" 45 #include "ppapi/c/ppb_image_data.h"
46 #include "ppapi/c/ppb_tcp_socket.h" 46 #include "ppapi/c/ppb_tcp_socket.h"
47 #include "ppapi/c/ppb_text_input_controller.h" 47 #include "ppapi/c/ppb_text_input_controller.h"
48 #include "ppapi/c/ppb_udp_socket.h" 48 #include "ppapi/c/ppb_udp_socket.h"
49 #include "ppapi/c/ppb_video_encoder.h" 49 #include "ppapi/c/ppb_video_encoder.h"
50 #include "ppapi/c/ppb_vpn_provider.h"
50 #include "ppapi/c/private/pp_content_decryptor.h" 51 #include "ppapi/c/private/pp_content_decryptor.h"
51 #include "ppapi/c/private/pp_private_font_charset.h" 52 #include "ppapi/c/private/pp_private_font_charset.h"
52 #include "ppapi/c/private/pp_video_capture_format.h" 53 #include "ppapi/c/private/pp_video_capture_format.h"
53 #include "ppapi/c/private/ppb_flash.h" 54 #include "ppapi/c/private/ppb_flash.h"
54 #include "ppapi/c/private/ppb_host_resolver_private.h" 55 #include "ppapi/c/private/ppb_host_resolver_private.h"
55 #include "ppapi/c/private/ppb_isolated_file_system_private.h" 56 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
56 #include "ppapi/c/private/ppb_net_address_private.h" 57 #include "ppapi/c/private/ppb_net_address_private.h"
57 #include "ppapi/c/private/ppb_pdf.h" 58 #include "ppapi/c/private/ppb_pdf.h"
58 #include "ppapi/c/private/ppp_flash_browser_operations.h" 59 #include "ppapi/c/private/ppp_flash_browser_operations.h"
59 #include "ppapi/c/private/ppp_pdf.h" 60 #include "ppapi/c/private/ppp_pdf.h"
(...skipping 1915 matching lines...) Expand 10 before | Expand all | Expand 10 after
1975 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, 1976 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1976 std::string /* stream_url */) 1977 std::string /* stream_url */)
1977 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1978 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1978 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1979 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1979 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, 1980 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
1980 ppapi::HostResource /* resource_id */, 1981 ppapi::HostResource /* resource_id */,
1981 PP_ImageDataDesc /* image_data_desc */, 1982 PP_ImageDataDesc /* image_data_desc */,
1982 PP_TimeTicks /* timestamp */) 1983 PP_TimeTicks /* timestamp */)
1983 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1984 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1984 1985
1986 // VPN Provider ----------------------------------------------------------------
1987 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
1988
1989 // PPB_VpnProvider Plugin --> Browser Messages
1990 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
1991 std::string /* name */,
1992 std::string /* id */)
1993 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_SendPacket,
1994 std::vector<char> /* packet */)
1995
1996 // PPB_VpnProvider Replies
1997 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_BindReply, int32_t /* status */)
1998 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
1999 int32_t /* status */)
2000
2001 // PPP_VpnProvide Browser --> Plugin Messages
2002 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnBind)
2003 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_OnPacketReceived,
2004 std::vector<char> /* packet */)
2005
1985 // WebSocket ------------------------------------------------------------------- 2006 // WebSocket -------------------------------------------------------------------
1986 2007
1987 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 2008 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
1988 2009
1989 // Establishes the connection to a server. This message requires 2010 // Establishes the connection to a server. This message requires
1990 // WebSocket_ConnectReply as a reply message. 2011 // WebSocket_ConnectReply as a reply message.
1991 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 2012 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
1992 std::string /* url */, 2013 std::string /* url */,
1993 std::vector<std::string> /* protocols */) 2014 std::vector<std::string> /* protocols */)
1994 2015
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2431 std::vector<ppapi::HostResource> /* buffers */, 2452 std::vector<ppapi::HostResource> /* buffers */,
2432 uint32_t /* buffer_size */) 2453 uint32_t /* buffer_size */)
2433 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2454 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2434 uint32_t /* status */) 2455 uint32_t /* status */)
2435 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2456 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2436 uint32_t /* error */) 2457 uint32_t /* error */)
2437 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2458 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2438 uint32_t /* buffer */) 2459 uint32_t /* buffer */)
2439 2460
2440 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2461 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698