| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <inttypes.h> | 7 #include <inttypes.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 | 10 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 cert_verifier(nullptr), | 102 cert_verifier(nullptr), |
| 103 enable_server_push_cancellation(false), | 103 enable_server_push_cancellation(false), |
| 104 channel_id_service(nullptr), | 104 channel_id_service(nullptr), |
| 105 transport_security_state(nullptr), | 105 transport_security_state(nullptr), |
| 106 cert_transparency_verifier(nullptr), | 106 cert_transparency_verifier(nullptr), |
| 107 ct_policy_enforcer(nullptr), | 107 ct_policy_enforcer(nullptr), |
| 108 proxy_service(nullptr), | 108 proxy_service(nullptr), |
| 109 ssl_config_service(nullptr), | 109 ssl_config_service(nullptr), |
| 110 http_auth_handler_factory(nullptr), | 110 http_auth_handler_factory(nullptr), |
| 111 net_log(nullptr), | 111 net_log(nullptr), |
| 112 host_mapping_rules(nullptr), | |
| 113 socket_performance_watcher_factory(nullptr), | 112 socket_performance_watcher_factory(nullptr), |
| 114 ignore_certificate_errors(false), | 113 ignore_certificate_errors(false), |
| 115 testing_fixed_http_port(0), | 114 testing_fixed_http_port(0), |
| 116 testing_fixed_https_port(0), | 115 testing_fixed_https_port(0), |
| 117 enable_tcp_fast_open_for_ssl(false), | 116 enable_tcp_fast_open_for_ssl(false), |
| 118 enable_user_alternate_protocol_ports(false), | 117 enable_user_alternate_protocol_ports(false), |
| 119 enable_spdy_ping_based_connection_checking(true), | 118 enable_spdy_ping_based_connection_checking(true), |
| 120 enable_http2(true), | 119 enable_http2(true), |
| 121 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 120 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
| 122 time_func(&base::TimeTicks::Now), | 121 time_func(&base::TimeTicks::Now), |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 CloseIdleConnections(); | 468 CloseIdleConnections(); |
| 470 break; | 469 break; |
| 471 } | 470 } |
| 472 } | 471 } |
| 473 | 472 |
| 474 void HttpNetworkSession::OnPurgeMemory() { | 473 void HttpNetworkSession::OnPurgeMemory() { |
| 475 CloseIdleConnections(); | 474 CloseIdleConnections(); |
| 476 } | 475 } |
| 477 | 476 |
| 478 } // namespace net | 477 } // namespace net |
| OLD | NEW |