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

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

Issue 2128743002: Reland of ppapi: PPB_VpnProvider: Implement Resource Host (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-nacl-sdk
Patch Set: 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
« no previous file with comments | « content/content_browser.gypi ('k') | ppapi/proxy/vpn_provider_resource.h » ('j') | 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 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 -> host -> plugin
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 uint32_t /* id */)
2047
2048 // VpnProvider host -> plugin
2049 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind)
2050
2051 // VpnProvider host -> plugin -> host
2052 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
2053 uint32_t /* packet_size */,
2054 uint32_t /* id */)
2055 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
2056 uint32_t /* id */)
2057
2031 // WebSocket ------------------------------------------------------------------- 2058 // WebSocket -------------------------------------------------------------------
2032 2059
2033 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create) 2060 IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
2034 2061
2035 // Establishes the connection to a server. This message requires 2062 // Establishes the connection to a server. This message requires
2036 // WebSocket_ConnectReply as a reply message. 2063 // WebSocket_ConnectReply as a reply message.
2037 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect, 2064 IPC_MESSAGE_CONTROL2(PpapiHostMsg_WebSocket_Connect,
2038 std::string /* url */, 2065 std::string /* url */,
2039 std::vector<std::string> /* protocols */) 2066 std::vector<std::string> /* protocols */)
2040 2067
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
2494 std::vector<ppapi::HostResource> /* buffers */, 2521 std::vector<ppapi::HostResource> /* buffers */,
2495 uint32_t /* buffer_size */) 2522 uint32_t /* buffer_size */)
2496 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2523 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2497 uint32_t /* status */) 2524 uint32_t /* status */)
2498 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2525 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2499 uint32_t /* error */) 2526 uint32_t /* error */)
2500 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2501 uint32_t /* buffer */) 2528 uint32_t /* buffer */)
2502 2529
2503 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2530 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | ppapi/proxy/vpn_provider_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698