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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 1926703002: ppapi: PPB_VpnProvider: Define PPAPI messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-api-headers
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 33d182fadcdf0ad3e45c04b869ee737d61bfd05e..b509843c7c7fa604b3d0fa08563640954cb8477e 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -1985,6 +1985,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 /* data_length */,
+ uint32_t /* id */)
+
+// VPN Provider Browser -> Plugin Replies
+IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VpnProvider_BindReply,
+ uint32_t /* queue_depth */,
+ uint32_t /* 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 /* data_length */,
+ uint32_t /* id */)
+
+// VPN Provider Plugin --> Browser Replies
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_OnPacketReceivedReply,
+ uint32_t /* id */)
+
// WebSocket -------------------------------------------------------------------
IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698