| 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 } | 443 } |
| 444 stalled_request_map_.clear(); | 444 stalled_request_map_.clear(); |
| 445 stalled_request_queue_.clear(); | 445 stalled_request_queue_.clear(); |
| 446 flushing_ = false; | 446 flushing_ = false; |
| 447 } | 447 } |
| 448 | 448 |
| 449 void WebSocketTransportClientSocketPool::CloseIdleSockets() { | 449 void WebSocketTransportClientSocketPool::CloseIdleSockets() { |
| 450 // We have no idle sockets. | 450 // We have no idle sockets. |
| 451 } | 451 } |
| 452 | 452 |
| 453 void WebSocketTransportClientSocketPool::CloseIdleSocketsInGroup( |
| 454 const std::string& group_name) { |
| 455 // We have no idle sockets. |
| 456 } |
| 457 |
| 453 int WebSocketTransportClientSocketPool::IdleSocketCount() const { | 458 int WebSocketTransportClientSocketPool::IdleSocketCount() const { |
| 454 return 0; | 459 return 0; |
| 455 } | 460 } |
| 456 | 461 |
| 457 int WebSocketTransportClientSocketPool::IdleSocketCountInGroup( | 462 int WebSocketTransportClientSocketPool::IdleSocketCountInGroup( |
| 458 const std::string& group_name) const { | 463 const std::string& group_name) const { |
| 459 return 0; | 464 return 0; |
| 460 } | 465 } |
| 461 | 466 |
| 462 LoadState WebSocketTransportClientSocketPool::GetLoadState( | 467 LoadState WebSocketTransportClientSocketPool::GetLoadState( |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 handle(handle), | 702 handle(handle), |
| 698 callback(callback), | 703 callback(callback), |
| 699 net_log(net_log) {} | 704 net_log(net_log) {} |
| 700 | 705 |
| 701 WebSocketTransportClientSocketPool::StalledRequest::StalledRequest( | 706 WebSocketTransportClientSocketPool::StalledRequest::StalledRequest( |
| 702 const StalledRequest& other) = default; | 707 const StalledRequest& other) = default; |
| 703 | 708 |
| 704 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} | 709 WebSocketTransportClientSocketPool::StalledRequest::~StalledRequest() {} |
| 705 | 710 |
| 706 } // namespace net | 711 } // namespace net |
| OLD | NEW |