| Index: webkit/plugins/ppapi/plugin_delegate.h
|
| diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
|
| index d91621c8a5fc4d111c3c56f92361f25dbc9a8bfd..13640aa55c04ecc897502f45cb1b2ee126f6e3bf 100644
|
| --- a/webkit/plugins/ppapi/plugin_delegate.h
|
| +++ b/webkit/plugins/ppapi/plugin_delegate.h
|
| @@ -79,6 +79,7 @@ class PluginModule;
|
| class PPB_Broker_Impl;
|
| class PPB_Flash_Menu_Impl;
|
| class PPB_Flash_NetConnector_Impl;
|
| +class PPB_TCPServerSocket_Private_Impl;
|
| class PPB_TCPSocket_Private_Impl;
|
| class PPB_UDPSocket_Private_Impl;
|
|
|
| @@ -425,6 +426,8 @@ class PluginDelegate {
|
| virtual void TCPSocketRead(uint32 socket_id, int32_t bytes_to_read) = 0;
|
| virtual void TCPSocketWrite(uint32 socket_id, const std::string& buffer) = 0;
|
| virtual void TCPSocketDisconnect(uint32 socket_id) = 0;
|
| + virtual void RegisterTCPSocket(PPB_TCPSocket_Private_Impl* socket,
|
| + uint32 socket_id) = 0;
|
|
|
| // For PPB_UDPSocket_Private.
|
| virtual uint32 UDPSocketCreate() = 0;
|
| @@ -437,6 +440,18 @@ class PluginDelegate {
|
| const PP_NetAddress_Private& addr) = 0;
|
| virtual void UDPSocketClose(uint32 socket_id) = 0;
|
|
|
| + // For PPB_TCPServerSocket_Private.
|
| + virtual bool TCPServerSocketInitialize(
|
| + PPB_TCPServerSocket_Private_Impl* socket) = 0;
|
| + virtual void TCPServerSocketListen(PPB_TCPServerSocket_Private_Impl* socket,
|
| + uint32 socket_id,
|
| + const PP_NetAddress_Private& addr,
|
| + int32_t backlog) = 0;
|
| + virtual void TCPServerSocketAccept(uint32 socket_id) = 0;
|
| + virtual void TCPServerSocketStopListening(uint32 socket_id) = 0;
|
| + virtual void CancelInitializationOfTCPServerSocket(
|
| + PPB_TCPServerSocket_Private_Impl* socket) = 0;
|
| +
|
| // Show the given context menu at the given position (in the plugin's
|
| // coordinates).
|
| virtual int32_t ShowContextMenu(
|
|
|