HomeSort by relevance Sort by last modified time
    Searched refs:StreamListenSocket (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/net/socket/
stream_listen_socket.h 10 // StreamListenSocket handles IO asynchronously in the specified MessageLoop.
41 class NET_EXPORT StreamListenSocket
50 virtual ~StreamListenSocket();
59 virtual void DidAccept(StreamListenSocket* server,
60 scoped_ptr<StreamListenSocket> connection) = 0;
61 virtual void DidRead(StreamListenSocket* connection,
64 virtual void DidClose(StreamListenSocket* sock) = 0;
86 StreamListenSocket(SocketDescriptor s, Delegate* del);
132 DISALLOW_COPY_AND_ASSIGN(StreamListenSocket);
136 // StreamListenSocket
    [all...]
tcp_listen_socket.h 18 class NET_EXPORT TCPListenSocket : public StreamListenSocket {
24 const std::string& ip, int port, StreamListenSocket::Delegate* del);
34 TCPListenSocket(SocketDescriptor s, StreamListenSocket::Delegate* del);
36 // Implements StreamListenSocket::Accept.
50 virtual scoped_ptr<StreamListenSocket> CreateAndListen(
51 StreamListenSocket::Delegate* delegate) const OVERRIDE;
unix_domain_socket_posix.h 26 class NET_EXPORT UnixDomainSocket : public StreamListenSocket {
44 StreamListenSocket::Delegate* del,
54 StreamListenSocket::Delegate* del,
60 StreamListenSocket::Delegate* del,
66 StreamListenSocket::Delegate* del,
73 // StreamListenSocket:
90 virtual scoped_ptr<StreamListenSocket> CreateAndListen(
91 StreamListenSocket::Delegate* delegate) const OVERRIDE;
114 virtual scoped_ptr<StreamListenSocket> CreateAndListen(
115 StreamListenSocket::Delegate* delegate) const OVERRIDE
    [all...]
stream_listen_socket.cc 47 const int StreamListenSocket::kSocketError = SOCKET_ERROR;
49 const int StreamListenSocket::kSocketError = -1;
52 StreamListenSocket::StreamListenSocket(SocketDescriptor s,
53 StreamListenSocket::Delegate* del)
67 StreamListenSocket::~StreamListenSocket() {
77 void StreamListenSocket::Send(const char* bytes, int len,
84 void StreamListenSocket::Send(const string& str, bool append_linefeed) {
88 int StreamListenSocket::GetLocalAddress(IPEndPoint* address)
    [all...]
tcp_listen_socket_unittest.h 63 public StreamListenSocket::Delegate,
92 // StreamListenSocket::Delegate:
93 virtual void DidAccept(StreamListenSocket* server,
94 scoped_ptr<StreamListenSocket> connection) OVERRIDE;
95 virtual void DidRead(StreamListenSocket* connection, const char* data,
97 virtual void DidClose(StreamListenSocket* sock) OVERRIDE;
102 scoped_ptr<StreamListenSocket> connection_;
tcp_listen_socket.cc 34 const string& ip, int port, StreamListenSocket::Delegate* del) {
44 StreamListenSocket::Delegate* del)
45 : StreamListenSocket(s, del) {
110 socket_delegate_->DidAccept(this, sock.PassAs<StreamListenSocket>());
120 scoped_ptr<StreamListenSocket> TCPListenSocketFactory::CreateAndListen(
121 StreamListenSocket::Delegate* delegate) const {
123 .PassAs<StreamListenSocket>();
unix_domain_socket_posix.cc 60 StreamListenSocket::Delegate* del,
77 StreamListenSocket::Delegate* del,
88 StreamListenSocket::Delegate* del,
97 StreamListenSocket::Delegate* del,
99 : StreamListenSocket(s, del),
141 SocketDescriptor conn = StreamListenSocket::AcceptSocket();
156 socket_delegate_->DidAccept(this, sock.PassAs<StreamListenSocket>());
167 scoped_ptr<StreamListenSocket> UnixDomainSocketFactory::CreateAndListen(
168 StreamListenSocket::Delegate* delegate) const {
170 path_, delegate, auth_callback_).PassAs<StreamListenSocket>();
    [all...]
tcp_listen_socket_unittest.cc 61 if (ret == StreamListenSocket::kSocketError)
65 ASSERT_NE(StreamListenSocket::kSocketError, ret);
110 if (len == StreamListenSocket::kSocketError || len == 0) {
228 if (send_len == StreamListenSocket::kSocketError) {
238 StreamListenSocket* server,
239 scoped_ptr<StreamListenSocket> connection) {
244 void TCPListenSocketTester::DidRead(StreamListenSocket* connection,
251 void TCPListenSocketTester::DidClose(StreamListenSocket* sock) {
  /external/chromium_org/net/tools/fetch/
http_listen_socket.h 19 public net::StreamListenSocket::Delegate {
39 // StreamListenSocket::Delegate.
41 net::StreamListenSocket* server,
42 scoped_ptr<net::StreamListenSocket> connection) OVERRIDE;
43 virtual void DidRead(net::StreamListenSocket* connection,
45 virtual void DidClose(net::StreamListenSocket* sock) OVERRIDE;
65 std::set<StreamListenSocket*> connections_;
http_listen_socket.cc 31 scoped_ptr<StreamListenSocket> sock(
183 net::StreamListenSocket* server,
184 scoped_ptr<net::StreamListenSocket> connection) {
188 void HttpListenSocket::DidRead(net::StreamListenSocket* connection,
201 void HttpListenSocket::DidClose(net::StreamListenSocket* sock) {
  /external/chromium_org/net/test/embedded_test_server/
http_connection.h 15 class StreamListenSocket;
32 HttpConnection(scoped_ptr<StreamListenSocket> socket,
47 scoped_ptr<StreamListenSocket> socket_;
embedded_test_server.h 37 StreamListenSocket::Delegate* delegate);
96 class EmbeddedTestServer : public StreamListenSocket::Delegate {
163 // StreamListenSocket::Delegate overrides:
164 virtual void DidAccept(StreamListenSocket* server,
165 scoped_ptr<StreamListenSocket> connection) OVERRIDE;
166 virtual void DidRead(StreamListenSocket* connection,
169 virtual void DidClose(StreamListenSocket* connection) OVERRIDE;
171 HttpConnection* FindConnection(StreamListenSocket* socket);
184 std::map<StreamListenSocket*, HttpConnection*> connections_;
http_connection.cc 13 HttpConnection::HttpConnection(scoped_ptr<StreamListenSocket> socket,
embedded_test_server.cc 89 StreamListenSocket::Delegate* delegate)
263 StreamListenSocket* server,
264 scoped_ptr<StreamListenSocket> connection) {
271 // TODO(szym): Make HttpConnection the StreamListenSocket delegate.
275 void EmbeddedTestServer::DidRead(StreamListenSocket* connection,
288 void EmbeddedTestServer::DidClose(StreamListenSocket* connection) {
301 StreamListenSocket* socket) {
304 std::map<StreamListenSocket*, HttpConnection*>::iterator it =
  /external/chromium_org/content/browser/devtools/
devtools_http_handler_unittest.cc 17 using net::StreamListenSocket;
19 class DummyListenSocket : public StreamListenSocket,
20 public StreamListenSocket::Delegate {
23 : StreamListenSocket(0, this) {}
25 // StreamListenSocket::Delegate "implementation"
26 virtual void DidAccept(StreamListenSocket* server,
27 scoped_ptr<StreamListenSocket> connection) OVERRIDE {}
28 virtual void DidRead(StreamListenSocket* connection,
31 virtual void DidClose(StreamListenSocket* sock) OVERRIDE {}
47 virtual scoped_ptr<StreamListenSocket> CreateAndListen
    [all...]
tethering_handler.cc 42 class SocketPump : public net::StreamListenSocket::Delegate {
63 virtual void DidAccept(net::StreamListenSocket* server,
64 scoped_ptr<net::StreamListenSocket> socket) OVERRIDE {
81 virtual void DidRead(net::StreamListenSocket* socket,
94 virtual void DidClose(net::StreamListenSocket* socket) OVERRIDE {
161 scoped_ptr<net::StreamListenSocket> server_socket_;
162 scoped_ptr<net::StreamListenSocket> accepted_socket_;
  /external/chromium_org/net/server/
http_connection.h 18 class StreamListenSocket;
38 HttpConnection(HttpServer* server, scoped_ptr<StreamListenSocket> sock);
41 scoped_ptr<StreamListenSocket> socket_;
http_server.h 24 class HttpServer : public StreamListenSocket::Delegate,
67 virtual void DidAccept(StreamListenSocket* server,
68 scoped_ptr<StreamListenSocket> socket) OVERRIDE;
69 virtual void DidRead(StreamListenSocket* socket,
72 virtual void DidClose(StreamListenSocket* socket) OVERRIDE;
89 HttpConnection* FindConnection(StreamListenSocket* socket);
92 scoped_ptr<StreamListenSocket> server_;
95 typedef std::map<StreamListenSocket*, HttpConnection*> SocketToConnectionMap;
http_connection.cc 33 scoped_ptr<StreamListenSocket> sock)
  /external/chromium_org/chrome_frame/test/
test_server.h 110 explicit Connection(scoped_ptr<net::StreamListenSocket> sock)
117 bool IsSame(const net::StreamListenSocket* socket) const {
134 scoped_ptr<net::StreamListenSocket> socket_;
170 virtual void WriteContents(net::StreamListenSocket* socket) const {
225 virtual void WriteContents(net::StreamListenSocket* socket) const {
251 virtual void WriteContents(net::StreamListenSocket* socket) const;
285 class SimpleWebServer : public net::StreamListenSocket::Delegate {
305 // StreamListenSocket::Delegate overrides.
306 virtual void DidAccept(net::StreamListenSocket* server,
307 scoped_ptr<net::StreamListenSocket> connection)
    [all...]
test_server.cc 112 void FileResponse::WriteContents(net::StreamListenSocket* socket) const {
191 const net::StreamListenSocket* socket) const {
202 net::StreamListenSocket* server,
203 scoped_ptr<net::StreamListenSocket> connection) {
207 void SimpleWebServer::DidRead(net::StreamListenSocket* connection,
244 void SimpleWebServer::DidClose(net::StreamListenSocket* sock) {
269 HTTPTestServer::FindConnection(const net::StreamListenSocket* socket) {
289 const net::StreamListenSocket* socket) {
296 void HTTPTestServer::DidAccept(net::StreamListenSocket* server,
297 scoped_ptr<net::StreamListenSocket> socket)
    [all...]
  /external/chromium_org/content/public/browser/
devtools_http_handler_delegate.h 51 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
52 net::StreamListenSocket::Delegate* delegate,
  /external/chromium_org/chrome/browser/devtools/
browser_list_tabcontents_provider.h 31 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
32 net::StreamListenSocket::Delegate* delegate,
browser_list_tabcontents_provider.cc 123 scoped_ptr<net::StreamListenSocket>
125 net::StreamListenSocket::Delegate* delegate,
132 .PassAs<net::StreamListenSocket>();
135 scoped_ptr<net::StreamListenSocket>
137 net::StreamListenSocket::Delegate* delegate,
139 return scoped_ptr<net::StreamListenSocket>();
  /external/chromium_org/content/shell/browser/
shell_devtools_delegate.h 32 virtual scoped_ptr<net::StreamListenSocket> CreateSocketForTethering(
33 net::StreamListenSocket::Delegate* delegate,

Completed in 860 milliseconds

1 2