| 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 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool( | 234 WebSocketTransportClientSocketPool::WebSocketTransportClientSocketPool( |
| 235 int max_sockets, | 235 int max_sockets, |
| 236 int max_sockets_per_group, | 236 int max_sockets_per_group, |
| 237 HostResolver* host_resolver, | 237 HostResolver* host_resolver, |
| 238 ClientSocketFactory* client_socket_factory, | 238 ClientSocketFactory* client_socket_factory, |
| 239 NetLog* net_log) | 239 NetLog* net_log) |
| 240 : TransportClientSocketPool(max_sockets, | 240 : TransportClientSocketPool(max_sockets, |
| 241 max_sockets_per_group, | 241 max_sockets_per_group, |
| 242 host_resolver, | 242 host_resolver, |
| 243 client_socket_factory, | 243 client_socket_factory, |
| 244 NULL, |
| 244 net_log), | 245 net_log), |
| 245 connect_job_delegate_(this), | 246 connect_job_delegate_(this), |
| 246 pool_net_log_(net_log), | 247 pool_net_log_(net_log), |
| 247 client_socket_factory_(client_socket_factory), | 248 client_socket_factory_(client_socket_factory), |
| 248 host_resolver_(host_resolver), | 249 host_resolver_(host_resolver), |
| 249 max_sockets_(max_sockets), | 250 max_sockets_(max_sockets), |
| 250 handed_out_socket_count_(0), | 251 handed_out_socket_count_(0), |
| 251 flushing_(false), | 252 flushing_(false), |
| 252 weak_factory_(this) {} | 253 weak_factory_(this) {} |
| 253 | 254 |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 const BoundNetLog& net_log) | 631 const BoundNetLog& net_log) |
| 631 : params(params), | 632 : params(params), |
| 632 priority(priority), | 633 priority(priority), |
| 633 handle(handle), | 634 handle(handle), |
| 634 callback(callback), | 635 callback(callback), |
| 635 net_log(net_log) {} | 636 net_log(net_log) {} |
| 636 | 637 |
| 637 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} | 638 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} |
| 638 | 639 |
| 639 } // namespace net | 640 } // namespace net |
| OLD | NEW |