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

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: Rebase 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
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 1918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1978 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, 1979 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1979 std::string /* stream_url */) 1980 std::string /* stream_url */)
1980 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1981 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1981 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1982 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1982 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, 1983 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
1983 ppapi::HostResource /* resource_id */, 1984 ppapi::HostResource /* resource_id */,
1984 PP_ImageDataDesc /* image_data_desc */, 1985 PP_ImageDataDesc /* image_data_desc */,
1985 PP_TimeTicks /* timestamp */) 1986 PP_TimeTicks /* timestamp */)
1986 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1987 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1987 1988
1989 // VPN Provider ----------------------------------------------------------------
1990 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
1991
1992 // VPN Provider Plugin -> Browser Messages
1993 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
1994 std::string /* configuration_id */,
1995 std::string /* configuration_name */)
1996 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket,
1997 uint32_t /* data_length */,
1998 uint32_t /* id */)
1999
2000 // VPN Provider Browser -> Plugin Replies
2001 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
2002 uint32_t /* queue_depth */,
2003 uint32_t /* packet_size */,
2004 int32_t /* status */)
2005 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
2006 int32_t /* id */)
2007
2008 // VPN Provider Browser -> Plugin Messages
2009 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnBind)
bbudge 2016/04/26 18:25:21 Unbind is a word, so s/OnUnBind/OnUnbind
adrian.belgun 2016/04/27 14:55:21 Done.
2010 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
2011 uint32_t /* data_length */,
2012 uint32_t /* id */)
2013
2014 // VPN Provider Plugin --> Browser Replies
2015 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
2016 uint32_t /* id */)
2017
1988 // WebSocket ------------------------------------------------------------------- 2018 // WebSocket -------------------------------------------------------------------
1989 2019
1990 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 2020 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
1991 2021
1992 // Establishes the connection to a server. This message requires 2022 // Establishes the connection to a server. This message requires
1993 // WebSocket_ConnectReply as a reply message. 2023 // WebSocket_ConnectReply as a reply message.
1994 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 2024 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
1995 std::string /* url */, 2025 std::string /* url */,
1996 std::vector<std::string> /* protocols */) 2026 std::vector<std::string> /* protocols */)
1997 2027
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
2434 std::vector<ppapi::HostResource> /* buffers */, 2464 std::vector<ppapi::HostResource> /* buffers */,
2435 uint32_t /* buffer_size */) 2465 uint32_t /* buffer_size */)
2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2466 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2437 uint32_t /* status */) 2467 uint32_t /* status */)
2438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2468 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2439 uint32_t /* error */) 2469 uint32_t /* error */)
2440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2470 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2441 uint32_t /* buffer */) 2471 uint32_t /* buffer */)
2442 2472
2443 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2473 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698