| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "net/socket/websocket_transport_client_socket_pool.h" | 5 #include "net/socket/websocket_transport_client_socket_pool.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/location.h" | 10 #include "base/location.h" |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool( | 231 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool( |
| 232 int max_sockets, | 232 int max_sockets, |
| 233 int max_sockets_per_group, | 233 int max_sockets_per_group, |
| 234 HostResolver* host_resolver, | 234 HostResolver* host_resolver, |
| 235 ClientSocketFactory* client_socket_factory, | 235 ClientSocketFactory* client_socket_factory, |
| 236 NetLog* net_log) | 236 NetLog* net_log) |
| 237 : TransportClientSocketPool(max_sockets, | 237 : TransportClientSocketPool(max_sockets, |
| 238 max_sockets_per_group, | 238 max_sockets_per_group, |
| 239 host_resolver, | 239 host_resolver, |
| 240 client_socket_factory, | 240 client_socket_factory, |
| 241 /*socket_performance_watcher_factory=*/nullptr, |
| 241 net_log), | 242 net_log), |
| 242 connect_job_delegate_(this), | 243 connect_job_delegate_(this), |
| 243 pool_net_log_(net_log), | 244 pool_net_log_(net_log), |
| 244 client_socket_factory_(client_socket_factory), | 245 client_socket_factory_(client_socket_factory), |
| 245 host_resolver_(host_resolver), | 246 host_resolver_(host_resolver), |
| 246 max_sockets_(max_sockets), | 247 max_sockets_(max_sockets), |
| 247 handed_out_socket_count_(0), | 248 handed_out_socket_count_(0), |
| 248 flushing_(false), | 249 flushing_(false), |
| 249 weak_factory_(this) {} | 250 weak_factory_(this) {} |
| 250 | 251 |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 const BoundNetLog& net_log) | 636 const BoundNetLog& net_log) |
| 636 : params(params), | 637 : params(params), |
| 637 priority(priority), | 638 priority(priority), |
| 638 handle(handle), | 639 handle(handle), |
| 639 callback(callback), | 640 callback(callback), |
| 640 net_log(net_log) {} | 641 net_log(net_log) {} |
| 641 | 642 |
| 642 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} | 643 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} |
| 643 | 644 |
| 644 } // namespace net | 645 } // namespace net |
| OLD | NEW |