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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 1726303003: ppapi: PPB_VpnProvider: Define API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify IDL Created 4 years, 9 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 ebaeed90f1a419a6bc2e6e3f9996bb3f431f5b2d..8bb7aefee2c5ed7831070fbbc33456a8c79ea3a2 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -47,6 +47,7 @@
#include "ppapi/c/ppb_text_input_controller.h"
#include "ppapi/c/ppb_udp_socket.h"
#include "ppapi/c/ppb_video_encoder.h"
+#include "ppapi/c/ppb_vpn_provider.h"
#include "ppapi/c/private/pp_content_decryptor.h"
#include "ppapi/c/private/pp_private_font_charset.h"
#include "ppapi/c/private/pp_video_capture_format.h"
@@ -1982,6 +1983,26 @@ IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoSource_GetFrameReply,
PP_TimeTicks /* timestamp */)
IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
+// VPN Provider ----------------------------------------------------------------
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VpnProvider_Create)
+
+// PPB_VpnProvider Plugin --> Browser Messages
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VpnProvider_Bind,
+ std::string /* name */,
+ std::string /* id */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_VpnProvider_SendPacket,
+ std::vector<char> /* packet */)
+
+// PPB_VpnProvider Replies
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_BindReply, int32_t /* status */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_SendPacketReply,
+ int32_t /* status */)
+
+// PPP_VpnProvide Browser --> Plugin Messages
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VpnProvider_OnUnBind)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VpnProvider_OnPacketReceived,
+ std::vector<char> /* packet */)
+
// WebSocket -------------------------------------------------------------------
IPC_MESSAGE_CONTROL0(PpapiHostMsg_WebSocket_Create)

Powered by Google App Engine
This is Rietveld 408576698