| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 void CloseIdleSockets() override; | 142 void CloseIdleSockets() override; |
| 143 | 143 |
| 144 int IdleSocketCount() const override; | 144 int IdleSocketCount() const override; |
| 145 | 145 |
| 146 int IdleSocketCountInGroup(const std::string& group_name) const override; | 146 int IdleSocketCountInGroup(const std::string& group_name) const override; |
| 147 | 147 |
| 148 LoadState GetLoadState(const std::string& group_name, | 148 LoadState GetLoadState(const std::string& group_name, |
| 149 const ClientSocketHandle* handle) const override; | 149 const ClientSocketHandle* handle) const override; |
| 150 | 150 |
| 151 base::DictionaryValue* GetInfoAsValue( | 151 scoped_ptr<base::DictionaryValue> GetInfoAsValue( |
| 152 const std::string& name, | 152 const std::string& name, |
| 153 const std::string& type, | 153 const std::string& type, |
| 154 bool include_nested_pools) const override; | 154 bool include_nested_pools) const override; |
| 155 | 155 |
| 156 base::TimeDelta ConnectionTimeout() const override; | 156 base::TimeDelta ConnectionTimeout() const override; |
| 157 | 157 |
| 158 // LowerLayeredPool implementation. | 158 // LowerLayeredPool implementation. |
| 159 bool IsStalled() const override; | 159 bool IsStalled() const override; |
| 160 | 160 |
| 161 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; | 161 void AddHigherLayeredPool(HigherLayeredPool* higher_pool) override; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 TransportClientSocketPool* const transport_pool_; | 198 TransportClientSocketPool* const transport_pool_; |
| 199 PoolBase base_; | 199 PoolBase base_; |
| 200 | 200 |
| 201 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); | 201 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocketPool); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 } // namespace net | 204 } // namespace net |
| 205 | 205 |
| 206 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ | 206 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |