Home | History | Annotate | Download | only in proxy

Lines Matching defs:TCPSocket

32 class TCPSocket : public thunk::PPB_TCPSocket_API,
36 TCPSocket(const HostResource& resource, uint32 socket_id);
37 virtual ~TCPSocket();
77 DISALLOW_COPY_AND_ASSIGN(TCPSocket);
80 TCPSocket::TCPSocket(const HostResource& resource, uint32 socket_id)
89 TCPSocket::~TCPSocket() {
93 thunk::PPB_TCPSocket_API* TCPSocket::AsPPB_TCPSocket_API() {
97 int32_t TCPSocket::Connect(PP_Resource addr,
107 PP_Resource TCPSocket::GetLocalAddress() {
119 PP_Resource TCPSocket::GetRemoteAddress() {
131 int32_t TCPSocket::Read(char* buffer,
137 int32_t TCPSocket::Write(const char* buffer,
143 void TCPSocket::Close() {
147 int32_t TCPSocket::SetOption(PP_TCPSocket_Option name,
153 void TCPSocket::SendConnect(const std::string& host, uint16_t port) {
157 void TCPSocket::SendConnectWithNetAddress(const PP_NetAddress_Private& addr) {
162 void TCPSocket::SendSSLHandshake(
170 void TCPSocket::SendRead(int32_t bytes_to_read) {
174 void TCPSocket::SendWrite(const std::string& buffer) {
178 void TCPSocket::SendDisconnect() {
186 void TCPSocket::SendSetOption(PP_TCPSocket_Option name,
192 Resource* TCPSocket::GetOwnerResource() {
196 void TCPSocket::SendToBrowser(IPC::Message* msg) {
224 return (new TCPSocket(HostResource::MakeInstanceOnly(instance),