| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 int num_sockets, | 197 int num_sockets, |
| 198 const BoundNetLog& net_log) OVERRIDE; | 198 const BoundNetLog& net_log) OVERRIDE; |
| 199 | 199 |
| 200 virtual void CancelRequest(const std::string& group_name, | 200 virtual void CancelRequest(const std::string& group_name, |
| 201 ClientSocketHandle* handle) OVERRIDE; | 201 ClientSocketHandle* handle) OVERRIDE; |
| 202 | 202 |
| 203 virtual void ReleaseSocket(const std::string& group_name, | 203 virtual void ReleaseSocket(const std::string& group_name, |
| 204 StreamSocket* socket, | 204 StreamSocket* socket, |
| 205 int id) OVERRIDE; | 205 int id) OVERRIDE; |
| 206 | 206 |
| 207 virtual void Flush() OVERRIDE; | 207 virtual void FlushWithError(int error) OVERRIDE; |
| 208 | 208 |
| 209 virtual bool IsStalled() const OVERRIDE; | 209 virtual bool IsStalled() const OVERRIDE; |
| 210 | 210 |
| 211 virtual void CloseIdleSockets() OVERRIDE; | 211 virtual void CloseIdleSockets() OVERRIDE; |
| 212 | 212 |
| 213 virtual int IdleSocketCount() const OVERRIDE; | 213 virtual int IdleSocketCount() const OVERRIDE; |
| 214 | 214 |
| 215 virtual int IdleSocketCountInGroup( | 215 virtual int IdleSocketCountInGroup( |
| 216 const std::string& group_name) const OVERRIDE; | 216 const std::string& group_name) const OVERRIDE; |
| 217 | 217 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 271 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
| 272 }; | 272 }; |
| 273 | 273 |
| 274 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, | 274 REGISTER_SOCKET_PARAMS_FOR_POOL(HttpProxyClientSocketPool, |
| 275 HttpProxySocketParams); | 275 HttpProxySocketParams); |
| 276 | 276 |
| 277 } // namespace net | 277 } // namespace net |
| 278 | 278 |
| 279 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 279 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |