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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 } | 456 } |
457 stalled_request_map_.clear(); | 457 stalled_request_map_.clear(); |
458 stalled_request_queue_.clear(); | 458 stalled_request_queue_.clear(); |
459 flushing_ = false; | 459 flushing_ = false; |
460 } | 460 } |
461 | 461 |
462 void WebSocketTransportClientSocketPool::CloseIdleSockets() { | 462 void WebSocketTransportClientSocketPool::CloseIdleSockets() { |
463 // We have no idle sockets. | 463 // We have no idle sockets. |
464 } | 464 } |
465 | 465 |
| 466 void WebSocketTransportClientSocketPool::CloseIdleSocketsInGroup( |
| 467 const std::string& group_name) { |
| 468 // We have no idle sockets. |
| 469 } |
| 470 |
466 int WebSocketTransportClientSocketPool::IdleSocketCount() const { | 471 int WebSocketTransportClientSocketPool::IdleSocketCount() const { |
467 return 0; | 472 return 0; |
468 } | 473 } |
469 | 474 |
470 int WebSocketTransportClientSocketPool::IdleSocketCountInGroup( | 475 int WebSocketTransportClientSocketPool::IdleSocketCountInGroup( |
471 const std::string& group_name) const { | 476 const std::string& group_name) const { |
472 return 0; | 477 return 0; |
473 } | 478 } |
474 | 479 |
475 LoadState WebSocketTransportClientSocketPool::GetLoadState( | 480 LoadState WebSocketTransportClientSocketPool::GetLoadState( |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 handle(handle), | 715 handle(handle), |
711 callback(callback), | 716 callback(callback), |
712 net_log(net_log) {} | 717 net_log(net_log) {} |
713 | 718 |
714 WebSocketTransportClientSocketPool::StalledRequest::StalledRequest( | 719 WebSocketTransportClientSocketPool::StalledRequest::StalledRequest( |
715 const StalledRequest& other) = default; | 720 const StalledRequest& other) = default; |
716 | 721 |
717 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} | 722 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} |
718 | 723 |
719 } // namespace net | 724 } // namespace net |
OLD | NEW |