| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/http/http_network_session.h" | 5 #include "net/http/http_network_session.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/stl_util-inl.h" | 11 #include "base/stl_util.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/values.h" | 13 #include "base/values.h" |
| 14 #include "net/http/http_auth_handler_factory.h" | 14 #include "net/http/http_auth_handler_factory.h" |
| 15 #include "net/http/http_response_body_drainer.h" | 15 #include "net/http/http_response_body_drainer.h" |
| 16 #include "net/http/http_stream_factory_impl.h" | 16 #include "net/http/http_stream_factory_impl.h" |
| 17 #include "net/http/url_security_manager.h" | 17 #include "net/http/url_security_manager.h" |
| 18 #include "net/proxy/proxy_service.h" | 18 #include "net/proxy/proxy_service.h" |
| 19 #include "net/socket/client_socket_factory.h" | 19 #include "net/socket/client_socket_factory.h" |
| 20 #include "net/spdy/spdy_session_pool.h" | 20 #include "net/spdy/spdy_session_pool.h" |
| 21 | 21 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 void HttpNetworkSession::CloseAllConnections() { | 89 void HttpNetworkSession::CloseAllConnections() { |
| 90 socket_pool_manager_.FlushSocketPools(); | 90 socket_pool_manager_.FlushSocketPools(); |
| 91 spdy_session_pool_.CloseCurrentSessions(); | 91 spdy_session_pool_.CloseCurrentSessions(); |
| 92 } | 92 } |
| 93 | 93 |
| 94 void HttpNetworkSession::CloseIdleConnections() { | 94 void HttpNetworkSession::CloseIdleConnections() { |
| 95 socket_pool_manager_.CloseIdleSockets(); | 95 socket_pool_manager_.CloseIdleSockets(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 } // namespace net | 98 } // namespace net |
| OLD | NEW |