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

Unified 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, 6 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 56acc45f311048e16182ebfcca910c617fe7e1a1..f907548d69952d6627c4fe8a48390a17c8d95574 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -2028,6 +2028,31 @@ IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
PP_TimeTicks /* timestamp */)
IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
+// VpnProvider ----------------------------------------------------------------
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
+
+// VpnProvider Plugin -> Browser Messages
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
+ std::string /* configuration_id */,
+ std::string /* configuration_name */)
+IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
+ uint32_t /* queue_size */,
+ uint32_t /* max_packet_size */,
+ int32_t /* status */)
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_SendPacket,
+ uint32_t /* packet_size */,
+ uint32_t /* id */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
+ 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.
+
+// VpnProvider Browser -> Plugin Messages
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnbind)
+IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VpnProvider_OnPacketReceived,
+ uint32_t /* packet_size */,
+ uint32_t /* id */)
+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