| Index: net/socket/tcp_client_socket_pool.h
|
| diff --git a/net/socket/tcp_client_socket_pool.h b/net/socket/tcp_client_socket_pool.h
|
| index 08f0634f2ae663133aae28277987271ca460e7f6..e3986e5f6d4807a39f0143b4137843e500482742 100644
|
| --- a/net/socket/tcp_client_socket_pool.h
|
| +++ b/net/socket/tcp_client_socket_pool.h
|
| @@ -39,15 +39,7 @@ class TCPSocketParams : public base::RefCounted<TCPSocketParams> {
|
| ~TCPSocketParams();
|
|
|
| void Initialize(RequestPriority priority, const GURL& referrer,
|
| - bool disable_resolver_cache) {
|
| - // The referrer is used by the DNS prefetch system to correlate resolutions
|
| - // with the page that triggered them. It doesn't impact the actual addresses
|
| - // that we resolve to.
|
| - destination_.set_referrer(referrer);
|
| - destination_.set_priority(priority);
|
| - if (disable_resolver_cache)
|
| - destination_.set_allow_cached_response(false);
|
| - }
|
| + bool disable_resolver_cache);
|
|
|
| HostResolver::RequestInfo destination_;
|
|
|
| @@ -147,9 +139,7 @@ class TCPClientSocketPool : public ClientSocketPool {
|
|
|
| virtual void CloseIdleSockets();
|
|
|
| - virtual int IdleSocketCount() const {
|
| - return base_.idle_socket_count();
|
| - }
|
| + virtual int IdleSocketCount() const;
|
|
|
| virtual int IdleSocketCountInGroup(const std::string& group_name) const;
|
|
|
| @@ -158,17 +148,11 @@ class TCPClientSocketPool : public ClientSocketPool {
|
|
|
| virtual DictionaryValue* GetInfoAsValue(const std::string& name,
|
| const std::string& type,
|
| - bool include_nested_pools) const {
|
| - return base_.GetInfoAsValue(name, type);
|
| - }
|
| + bool include_nested_pools) const;
|
|
|
| - virtual base::TimeDelta ConnectionTimeout() const {
|
| - return base_.ConnectionTimeout();
|
| - }
|
| + virtual base::TimeDelta ConnectionTimeout() const;
|
|
|
| - virtual ClientSocketPoolHistograms* histograms() const {
|
| - return base_.histograms();
|
| - }
|
| + virtual ClientSocketPoolHistograms* histograms() const;
|
|
|
| private:
|
| typedef ClientSocketPoolBase<TCPSocketParams> PoolBase;
|
|
|