summaryrefslogtreecommitdiffstats
path: root/net/socket/tcp_client_socket_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/tcp_client_socket_pool.h')
-rw-r--r--net/socket/tcp_client_socket_pool.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h
index 50b1237..76950c3 100644
--- a/net/socket/tcp_client_socket_pool.h
+++ b/net/socket/tcp_client_socket_pool.h
@@ -101,6 +101,7 @@ class TCPClientSocketPool : public ClientSocketPool {
TCPClientSocketPool(
int max_sockets,
int max_sockets_per_group,
+ const std::string& name,
HostResolver* host_resolver,
ClientSocketFactory* client_socket_factory,
NetworkChangeNotifier* network_change_notifier);
@@ -131,6 +132,12 @@ class TCPClientSocketPool : public ClientSocketPool {
virtual LoadState GetLoadState(const std::string& group_name,
const ClientSocketHandle* handle) const;
+ virtual base::TimeDelta ConnectionTimeout() const {
+ return base_.ConnectionTimeout();
+ }
+
+ virtual const std::string& name() const { return base_.name(); }
+
protected:
virtual ~TCPClientSocketPool();
@@ -155,6 +162,8 @@ class TCPClientSocketPool : public ClientSocketPool {
ConnectJob::Delegate* delegate,
const BoundNetLog& net_log) const;
+ virtual base::TimeDelta ConnectionTimeout() const;
+
private:
ClientSocketFactory* const client_socket_factory_;
const scoped_refptr<HostResolver> host_resolver_;