| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 host_mapping_rules(nullptr), | 117 host_mapping_rules(nullptr), |
| 118 socket_performance_watcher_factory(nullptr), | 118 socket_performance_watcher_factory(nullptr), |
| 119 ignore_certificate_errors(false), | 119 ignore_certificate_errors(false), |
| 120 testing_fixed_http_port(0), | 120 testing_fixed_http_port(0), |
| 121 testing_fixed_https_port(0), | 121 testing_fixed_https_port(0), |
| 122 enable_tcp_fast_open_for_ssl(false), | 122 enable_tcp_fast_open_for_ssl(false), |
| 123 enable_spdy_ping_based_connection_checking(true), | 123 enable_spdy_ping_based_connection_checking(true), |
| 124 enable_http2(true), | 124 enable_http2(true), |
| 125 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 125 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
| 126 time_func(&base::TimeTicks::Now), | 126 time_func(&base::TimeTicks::Now), |
| 127 enable_http2_alternative_service_with_different_host(false), | 127 enable_http2_alternative_service(false), |
| 128 enable_quic_alternative_service_with_different_host(true), | 128 enable_quic_alternative_service_with_different_host(true), |
| 129 enable_quic(false), | 129 enable_quic(false), |
| 130 mark_quic_broken_when_network_blackholes(false), | 130 mark_quic_broken_when_network_blackholes(false), |
| 131 retry_without_alt_svc_on_quic_errors(false), | 131 retry_without_alt_svc_on_quic_errors(false), |
| 132 quic_always_require_handshake_confirmation(false), | 132 quic_always_require_handshake_confirmation(false), |
| 133 quic_disable_connection_pooling(false), | 133 quic_disable_connection_pooling(false), |
| 134 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 134 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
| 135 quic_enable_connection_racing(false), | 135 quic_enable_connection_racing(false), |
| 136 quic_enable_non_blocking_io(false), | 136 quic_enable_non_blocking_io(false), |
| 137 quic_disable_disk_cache(false), | 137 quic_disable_disk_cache(false), |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 CloseIdleConnections(); | 485 CloseIdleConnections(); |
| 486 break; | 486 break; |
| 487 } | 487 } |
| 488 } | 488 } |
| 489 | 489 |
| 490 void HttpNetworkSession::OnPurgeMemory() { | 490 void HttpNetworkSession::OnPurgeMemory() { |
| 491 CloseIdleConnections(); | 491 CloseIdleConnections(); |
| 492 } | 492 } |
| 493 | 493 |
| 494 } // namespace net | 494 } // namespace net |
| OLD | NEW |