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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 1931513002: ppapi: PPB_VpnProvider: Implement Resource Stub (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-api-messages
Patch Set: Respond to review. 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index c0b3e75c97e27a7d156db8fbbcee7638802156eb..5fc496934aa709b152e61ff737ae78d45d89fa03 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -1992,6 +1992,35 @@ IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
PP_TimeTicks /* timestamp */)
IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
+// VPN Provider ----------------------------------------------------------------
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
+
+// VPN Provider Plugin -> Browser Messages
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
+ std::string /* configuration_id */,
+ std::string /* configuration_name */)
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket,
+ uint32_t /* packet_size */,
+ uint32_t /* id */)
+
+// VPN Provider Browser -> Plugin Replies
+IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
bbudge 2016/05/17 13:34:39 It looks like you're cribbing from WebSocket. The
adrian.belgun 2016/05/17 15:25:29 Done.
+ uint32_t /* queue_depth */,
bbudge 2016/05/17 13:34:39 queue_size
adrian.belgun 2016/05/17 15:25:29 Done.
+ uint32_t /* max_packet_size */,
+ int32_t /* status */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
+ int32_t /* id */)
+
+// VPN Provider Browser -> Plugin Messages
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind)
+IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
+ uint32_t /* packet_size */,
+ uint32_t /* id */)
+
+// VPN Provider Plugin --> Browser Replies
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
+ uint32_t /* id */)
+
// WebSocket -------------------------------------------------------------------
IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)

Powered by Google App Engine
This is Rietveld 408576698