| 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_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 5 #ifndef NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| 6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 6 #define NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 ClientSocketHandle* handle, | 218 ClientSocketHandle* handle, |
| 219 RequestPriority priority) override; | 219 RequestPriority priority) override; |
| 220 | 220 |
| 221 void CancelRequest(const std::string& group_name, | 221 void CancelRequest(const std::string& group_name, |
| 222 ClientSocketHandle* handle) override; | 222 ClientSocketHandle* handle) override; |
| 223 void ReleaseSocket(const std::string& group_name, | 223 void ReleaseSocket(const std::string& group_name, |
| 224 std::unique_ptr<StreamSocket> socket, | 224 std::unique_ptr<StreamSocket> socket, |
| 225 int id) override; | 225 int id) override; |
| 226 void FlushWithError(int error) override; | 226 void FlushWithError(int error) override; |
| 227 void CloseIdleSockets() override; | 227 void CloseIdleSockets() override; |
| 228 void CloseIdleSocketsInGroup(const std::string& group_name) override; |
| 228 int IdleSocketCount() const override; | 229 int IdleSocketCount() const override; |
| 229 int IdleSocketCountInGroup(const std::string& group_name) const override; | 230 int IdleSocketCountInGroup(const std::string& group_name) const override; |
| 230 LoadState GetLoadState(const std::string& group_name, | 231 LoadState GetLoadState(const std::string& group_name, |
| 231 const ClientSocketHandle* handle) const override; | 232 const ClientSocketHandle* handle) const override; |
| 232 std::unique_ptr<base::DictionaryValue> GetInfoAsValue( | 233 std::unique_ptr<base::DictionaryValue> GetInfoAsValue( |
| 233 const std::string& name, | 234 const std::string& name, |
| 234 const std::string& type, | 235 const std::string& type, |
| 235 bool include_nested_pools) const override; | 236 bool include_nested_pools) const override; |
| 236 base::TimeDelta ConnectionTimeout() const override; | 237 base::TimeDelta ConnectionTimeout() const override; |
| 237 | 238 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 }; | 285 }; |
| 285 | 286 |
| 286 PoolBase base_; | 287 PoolBase base_; |
| 287 | 288 |
| 288 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); | 289 DISALLOW_COPY_AND_ASSIGN(TransportClientSocketPool); |
| 289 }; | 290 }; |
| 290 | 291 |
| 291 } // namespace net | 292 } // namespace net |
| 292 | 293 |
| 293 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ | 294 #endif // NET_SOCKET_TRANSPORT_CLIENT_SOCKET_POOL_H_ |
| OLD | NEW |