Lines Matching defs:Socket
18 const char kSocketTypeNotSupported[] = "Socket type does not support this API";
21 BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> > > g_factory =
26 BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> >*
27 ApiResourceManager<Socket>::GetFactoryInstance() {
31 Socket::Socket(const std::string& owner_extension_id)
34 Socket::~Socket() {
39 void Socket::Write(scoped_refptr<net::IOBuffer> io_buffer,
47 void Socket::WriteData() {
60 base::Bind(&Socket::OnWriteComplete, base::Unretained(this)));
66 void Socket::OnWriteComplete(int result) {
88 bool Socket::SetKeepAlive(bool enable, int delay) { return false; }
90 bool Socket::SetNoDelay(bool no_delay) { return false; }
92 int Socket::Listen(const std::string& address,
100 void Socket::Accept(const AcceptCompletionCallback& callback) {
105 bool Socket::StringAndPortToIPEndPoint(const std::string& ip_address_str,
117 bool Socket::StringAndPortToAddressList(const std::string& ip_address_str,
129 void Socket::IPEndPointToStringAndPort(const net::IPEndPoint& address,
142 Socket::WriteRequest::WriteRequest(scoped_refptr<net::IOBuffer> io_buffer,
150 Socket::WriteRequest::~WriteRequest() {}