| 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_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 ClientSocketHandle* handle) override; | 165 ClientSocketHandle* handle) override; |
| 166 | 166 |
| 167 void ReleaseSocket(const std::string& group_name, | 167 void ReleaseSocket(const std::string& group_name, |
| 168 std::unique_ptr<StreamSocket> socket, | 168 std::unique_ptr<StreamSocket> socket, |
| 169 int id) override; | 169 int id) override; |
| 170 | 170 |
| 171 void FlushWithError(int error) override; | 171 void FlushWithError(int error) override; |
| 172 | 172 |
| 173 void CloseIdleSockets() override; | 173 void CloseIdleSockets() override; |
| 174 | 174 |
| 175 void CloseIdleSocketsInGroup(const std::string& group_name) override; |
| 176 |
| 175 int IdleSocketCount() const override; | 177 int IdleSocketCount() const override; |
| 176 | 178 |
| 177 int IdleSocketCountInGroup(const std::string& group_name) const override; | 179 int IdleSocketCountInGroup(const std::string& group_name) const override; |
| 178 | 180 |
| 179 LoadState GetLoadState(const std::string& group_name, | 181 LoadState GetLoadState(const std::string& group_name, |
| 180 const ClientSocketHandle* handle) const override; | 182 const ClientSocketHandle* handle) const override; |
| 181 | 183 |
| 182 std::unique_ptr<base::DictionaryValue> GetInfoAsValue( | 184 std::unique_ptr<base::DictionaryValue> GetInfoAsValue( |
| 183 const std::string& name, | 185 const std::string& name, |
| 184 const std::string& type, | 186 const std::string& type, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 TransportClientSocketPool* const transport_pool_; | 227 TransportClientSocketPool* const transport_pool_; |
| 226 SSLClientSocketPool* const ssl_pool_; | 228 SSLClientSocketPool* const ssl_pool_; |
| 227 PoolBase base_; | 229 PoolBase base_; |
| 228 | 230 |
| 229 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 231 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
| 230 }; | 232 }; |
| 231 | 233 |
| 232 } // namespace net | 234 } // namespace net |
| 233 | 235 |
| 234 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 236 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |