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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 9283022: Exposed Listen and Accept methods to plugin. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added Destroy message for initialized but cancelled sockets. Created 8 years, 10 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 57901c59f1b4a0a1e55fddfe58740e4ad66c7812..211337f93da882140efe6e1b7f4356da691b8747 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -330,6 +330,21 @@ IPC_MESSAGE_ROUTED4(PpapiMsg_PPBUDPSocket_SendToACK,
bool /* succeeded */,
int32_t /* bytes_written */)
+// PPB_TCPServerSocket_Private.
+IPC_MESSAGE_ROUTED2(PpapiMsg_PPBTCPServerSocket_InitializeACK,
+ uint32 /* plugin_dispatcher_id */,
+ uint32 /* tcp_server_socket_id */)
+IPC_MESSAGE_ROUTED3(PpapiMsg_PPBTCPServerSocket_ListenACK,
+ uint32 /* plugin_dispatcher_id */,
+ uint32 /* socket_id */,
+ bool /* succeeded */)
+IPC_MESSAGE_ROUTED5(PpapiMsg_PPBTCPServerSocket_AcceptACK,
+ uint32 /* plugin_dispatcher_id */,
+ uint32 /* socket_id */,
+ uint32 /* tcp_socket_id */,
+ PP_NetAddress_Private /* local_addr */,
+ PP_NetAddress_Private /* remote_addr */)
+
// PPB_Graphics2D.
IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
ppapi::HostResource /* graphics_2d */,
@@ -831,6 +846,21 @@ IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBUDPSocket_SendTo,
IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBUDPSocket_Close,
uint32 /* socket_id */)
+// PPB_TCPServerSocket_Private.
yzshen1 2012/02/14 00:42:04 Please keep this comment.
ygorshenin1 2012/02/14 09:34:44 Done.
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_PPBTCPServerSocket_Initialize,
+ int32 /* routing_id */,
+ uint32 /* plugin_dispatcher_id */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Destroy,
+ uint32 /* socket_id */)
+IPC_MESSAGE_CONTROL3(PpapiHostMsg_PPBTCPServerSocket_Listen,
+ uint32 /* socket_id */,
+ PP_NetAddress_Private /* addr */,
+ int32_t /* backlog */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_Accept,
+ uint32 /* socket_id */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBTCPServerSocket_StopListening,
+ uint32 /* socket_id */)
+
// PPB_Font.
IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
std::string /* result */)

Powered by Google App Engine
This is Rietveld 408576698