Searched refs:ConnectJob (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/net/socket/
H A Dclient_socket_pool_base.h13 // ClientSocketPoolBase abstracts socket connection details behind ConnectJob,
16 // ConnectJob with a SocketParams. Subclasses of ClientSocketPool should
17 // implement their socket specific connection by subclassing ConnectJob and
18 // implementing ConnectJob::ConnectInternal(). They can control the parameters
19 // passed to each new ConnectJob instance via their ConnectJobFactory subclass
57 // ConnectJob provides an abstract interface for "connecting" a socket.
60 class NET_EXPORT_PRIVATE ConnectJob { class in namespace:net
71 ConnectJob* job) = 0;
78 ConnectJob(const std::string& group_name,
83 virtual ~ConnectJob();
[all...]
H A Dsocks_client_socket_pool.h56 class SOCKSConnectJob : public ConnectJob {
68 // ConnectJob methods.
189 virtual scoped_ptr<ConnectJob> NewConnectJob(
192 ConnectJob::Delegate* delegate) const OVERRIDE;
H A Dclient_socket_pool_base.cc43 ConnectJob::ConnectJob(const std::string& group_name, function in class:net::ConnectJob
60 ConnectJob::~ConnectJob() {
64 scoped_ptr<StreamSocket> ConnectJob::PassSocket() {
68 int ConnectJob::Connect() {
70 timer_.Start(FROM_HERE, timeout_duration_, this, &ConnectJob::OnTimeout);
86 void ConnectJob::SetSocket(scoped_ptr<StreamSocket> socket) {
94 void ConnectJob::NotifyDelegateOfCompletion(int rv) {
103 void ConnectJob
[all...]
H A Dsocks_client_socket_pool.cc49 : ConnectJob(group_name, timeout_duration, priority, delegate,
171 scoped_ptr<ConnectJob>
175 ConnectJob::Delegate* delegate) const {
176 return scoped_ptr<ConnectJob>(new SOCKSConnectJob(group_name,
H A Dwebsocket_transport_client_socket_pool.h42 class NET_EXPORT_PRIVATE WebSocketTransportConnectJob : public ConnectJob {
67 // ConnectJob methods.
170 class ConnectJobDelegate : public ConnectJob::Delegate {
175 virtual void OnConnectJobComplete(int result, ConnectJob* job) OVERRIDE;
H A Dssl_client_socket_pool.h170 class SSLConnectJob : public ConnectJob {
199 // ConnectJob methods.
383 virtual scoped_ptr<ConnectJob> NewConnectJob(
386 ConnectJob::Delegate* delegate) const OVERRIDE;
H A Dtransport_client_socket_pool.h157 class NET_EXPORT_PRIVATE TransportConnectJob : public ConnectJob {
169 // ConnectJob methods.
287 virtual scoped_ptr<ConnectJob> NewConnectJob(
290 ConnectJob::Delegate* delegate) const OVERRIDE;
H A Dtransport_client_socket_pool.cc203 : ConnectJob(group_name, timeout_duration, priority, delegate,
418 scoped_ptr<ConnectJob>
422 ConnectJob::Delegate* delegate) const {
423 return scoped_ptr<ConnectJob>(
H A Dssl_client_socket_pool.cc185 : ConnectJob(group_name,
686 scoped_ptr<ConnectJob> SSLClientSocketPool::SSLConnectJobFactory::NewConnectJob(
689 ConnectJob::Delegate* delegate) const {
690 return scoped_ptr<ConnectJob>(new SSLConnectJob(group_name,
H A Dwebsocket_transport_client_socket_pool.cc47 : ConnectJob(group_name,
571 // Deleting a ConnectJob which holds an endpoint lock can lead to a different
572 // ConnectJob proceeding to connect. If the connect proceeds synchronously
632 ConnectJob* job) {
H A Dclient_socket_pool_base_unittest.cc251 class TestConnectJob : public ConnectJob {
274 ConnectJob::Delegate* delegate,
277 : ConnectJob(group_name, timeout_duration, request.priority(), delegate,
292 // From ConnectJob:
307 // From ConnectJob:
457 virtual scoped_ptr<ConnectJob> NewConnectJob(
460 ConnectJob::Delegate* delegate) const OVERRIDE {
467 return scoped_ptr<ConnectJob>(new TestConnectJob(job_type,
650 class TestConnectJobDelegate : public ConnectJob::Delegate {
656 virtual void OnConnectJobComplete(int result, ConnectJob* jo
[all...]
/external/chromium_org/net/http/
H A Dhttp_proxy_client_socket_pool.h103 class HttpProxyConnectJob : public ConnectJob {
116 // ConnectJob methods.
267 virtual scoped_ptr<ConnectJob> NewConnectJob(
270 ConnectJob::Delegate* delegate) const OVERRIDE;
H A Dhttp_proxy_client_socket_pool.cc91 : ConnectJob(group_name, timeout_duration, priority, delegate,
403 scoped_ptr<ConnectJob>
407 ConnectJob::Delegate* delegate) const {
408 return scoped_ptr<ConnectJob>(new HttpProxyConnectJob(group_name,

Completed in 252 milliseconds