| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 RespectLimits respect_limits, | 154 RespectLimits respect_limits, |
| 155 ClientSocketHandle* handle, | 155 ClientSocketHandle* handle, |
| 156 const CompletionCallback& callback, | 156 const CompletionCallback& callback, |
| 157 const NetLogWithSource& net_log) override; | 157 const NetLogWithSource& net_log) override; |
| 158 | 158 |
| 159 void RequestSockets(const std::string& group_name, | 159 void RequestSockets(const std::string& group_name, |
| 160 const void* params, | 160 const void* params, |
| 161 int num_sockets, | 161 int num_sockets, |
| 162 const NetLogWithSource& net_log) override; | 162 const NetLogWithSource& net_log) override; |
| 163 | 163 |
| 164 void SetPriority(const std::string& group_name, |
| 165 ClientSocketHandle* handle, |
| 166 RequestPriority priority) override; |
| 167 |
| 164 void CancelRequest(const std::string& group_name, | 168 void CancelRequest(const std::string& group_name, |
| 165 ClientSocketHandle* handle) override; | 169 ClientSocketHandle* handle) override; |
| 166 | 170 |
| 167 void ReleaseSocket(const std::string& group_name, | 171 void ReleaseSocket(const std::string& group_name, |
| 168 std::unique_ptr<StreamSocket> socket, | 172 std::unique_ptr<StreamSocket> socket, |
| 169 int id) override; | 173 int id) override; |
| 170 | 174 |
| 171 void FlushWithError(int error) override; | 175 void FlushWithError(int error) override; |
| 172 | 176 |
| 173 void CloseIdleSockets() override; | 177 void CloseIdleSockets() override; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 TransportClientSocketPool* const transport_pool_; | 229 TransportClientSocketPool* const transport_pool_; |
| 226 SSLClientSocketPool* const ssl_pool_; | 230 SSLClientSocketPool* const ssl_pool_; |
| 227 PoolBase base_; | 231 PoolBase base_; |
| 228 | 232 |
| 229 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); | 233 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketPool); |
| 230 }; | 234 }; |
| 231 | 235 |
| 232 } // namespace net | 236 } // namespace net |
| 233 | 237 |
| 234 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ | 238 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |