diff options
Diffstat (limited to 'net/socket/transport_client_socket_pool.h')
-rw-r--r-- | net/socket/transport_client_socket_pool.h | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/net/socket/transport_client_socket_pool.h b/net/socket/transport_client_socket_pool.h index e343371b..055fae1 100644 --- a/net/socket/transport_client_socket_pool.h +++ b/net/socket/transport_client_socket_pool.h @@ -67,7 +67,7 @@ class NET_EXPORT_PRIVATE TransportConnectJob : public ConnectJob { virtual ~TransportConnectJob(); // ConnectJob methods. - virtual LoadState GetLoadState() const; + virtual LoadState GetLoadState() const OVERRIDE; // Makes |addrlist| start with an IPv4 address if |addrlist| contains any // IPv4 address. @@ -104,7 +104,7 @@ class NET_EXPORT_PRIVATE TransportConnectJob : public ConnectJob { // Begins the host resolution and the TCP connect. Returns OK on success // and ERR_IO_PENDING if it cannot immediately service the request. // Otherwise, it returns a net error code. - virtual int ConnectInternal(); + virtual int ConnectInternal() OVERRIDE; scoped_refptr<TransportSocketParams> params_; ClientSocketFactory* const client_socket_factory_; @@ -149,39 +149,41 @@ class NET_EXPORT_PRIVATE TransportClientSocketPool : public ClientSocketPool { RequestPriority priority, ClientSocketHandle* handle, OldCompletionCallback* callback, - const BoundNetLog& net_log); + const BoundNetLog& net_log) OVERRIDE; virtual void RequestSockets(const std::string& group_name, const void* params, int num_sockets, - const BoundNetLog& net_log); + const BoundNetLog& net_log) OVERRIDE; virtual void CancelRequest(const std::string& group_name, - ClientSocketHandle* handle); + ClientSocketHandle* handle) OVERRIDE; virtual void ReleaseSocket(const std::string& group_name, StreamSocket* socket, - int id); + int id) OVERRIDE; - virtual void Flush(); + virtual void Flush() OVERRIDE; - virtual void CloseIdleSockets(); + virtual void CloseIdleSockets() OVERRIDE; - virtual int IdleSocketCount() const; + virtual int IdleSocketCount() const OVERRIDE; - virtual int IdleSocketCountInGroup(const std::string& group_name) const; + virtual int IdleSocketCountInGroup( + const std::string& group_name) const OVERRIDE; - virtual LoadState GetLoadState(const std::string& group_name, - const ClientSocketHandle* handle) const; + virtual LoadState GetLoadState( + const std::string& group_name, + const ClientSocketHandle* handle) const OVERRIDE; virtual base::DictionaryValue* GetInfoAsValue( const std::string& name, const std::string& type, - bool include_nested_pools) const; + bool include_nested_pools) const OVERRIDE; - virtual base::TimeDelta ConnectionTimeout() const; + virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; - virtual ClientSocketPoolHistograms* histograms() const; + virtual ClientSocketPoolHistograms* histograms() const OVERRIDE; private: typedef ClientSocketPoolBase<TransportSocketParams> PoolBase; @@ -203,9 +205,9 @@ class NET_EXPORT_PRIVATE TransportClientSocketPool : public ClientSocketPool { virtual ConnectJob* NewConnectJob( const std::string& group_name, const PoolBase::Request& request, - ConnectJob::Delegate* delegate) const; + ConnectJob::Delegate* delegate) const OVERRIDE; - virtual base::TimeDelta ConnectionTimeout() const; + virtual base::TimeDelta ConnectionTimeout() const OVERRIDE; private: ClientSocketFactory* const client_socket_factory_; |