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

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

Issue 1735473002: ppapi: PPB_VpnProvider: Implement Resource Host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-nacl-sdk
Patch Set: Respond to reviews. Created 4 years, 5 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 2010 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, 2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
2022 std::string /* stream_url */) 2022 std::string /* stream_url */)
2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
2025 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply, 2025 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
2026 ppapi::HostResource /* resource_id */, 2026 ppapi::HostResource /* resource_id */,
2027 PP_ImageDataDesc /* image_data_desc */, 2027 PP_ImageDataDesc /* image_data_desc */,
2028 PP_TimeTicks /* timestamp */) 2028 PP_TimeTicks /* timestamp */)
2029 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 2029 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
2030 2030
2031 // VpnProvider ----------------------------------------------------------------
2032 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
2033
2034 // VpnProvider Plugin -> Browser Messages
2035 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
2036 std::string /* configuration_id */,
2037 std::string /* configuration_name */)
2038 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
2039 uint32_t /* queue_size */,
2040 uint32_t /* max_packet_size */,
2041 int32_t /* status */)
2042 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket,
2043 uint32_t /* packet_size */,
2044 uint32_t /* id */)
2045 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
2046 int32_t /* id */)
emaxx 2016/06/29 16:36:39 Is there a reason to make the id arguments signed
adrian.belgun 2016/06/30 15:03:18 Fixed.
2047
2048 // VpnProvider Browser -> Plugin Messages
2049 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind)
2050 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
2051 uint32_t /* packet_size */,
2052 uint32_t /* id */)
2053 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
2054 uint32_t /* id */)
2055
2031 // WebSocket ------------------------------------------------------------------- 2056 // WebSocket -------------------------------------------------------------------
2032 2057
2033 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 2058 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
2034 2059
2035 // Establishes the connection to a server. This message requires 2060 // Establishes the connection to a server. This message requires
2036 // WebSocket_ConnectReply as a reply message. 2061 // WebSocket_ConnectReply as a reply message.
2037 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 2062 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
2038 std::string /* url */, 2063 std::string /* url */,
2039 std::vector<std::string> /* protocols */) 2064 std::vector<std::string> /* protocols */)
2040 2065
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2494 std::vector<ppapi::HostResource> /* buffers */, 2519 std::vector<ppapi::HostResource> /* buffers */,
2495 uint32_t /* buffer_size */) 2520 uint32_t /* buffer_size */)
2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2521 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2497 uint32_t /* status */) 2522 uint32_t /* status */)
2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2523 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2499 uint32_t /* error */) 2524 uint32_t /* error */)
2500 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2525 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2501 uint32_t /* buffer */) 2526 uint32_t /* buffer */)
2502 2527
2503 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2528 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698