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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 socket_performance_watcher_factory(nullptr), | 113 socket_performance_watcher_factory(nullptr), |
114 ignore_certificate_errors(false), | 114 ignore_certificate_errors(false), |
115 testing_fixed_http_port(0), | 115 testing_fixed_http_port(0), |
116 testing_fixed_https_port(0), | 116 testing_fixed_https_port(0), |
117 enable_tcp_fast_open_for_ssl(false), | 117 enable_tcp_fast_open_for_ssl(false), |
118 enable_spdy_ping_based_connection_checking(true), | 118 enable_spdy_ping_based_connection_checking(true), |
119 enable_http2(true), | 119 enable_http2(true), |
120 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 120 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
121 time_func(&base::TimeTicks::Now), | 121 time_func(&base::TimeTicks::Now), |
122 enable_http2_alternative_service(false), | 122 enable_http2_alternative_service(false), |
123 enable_quic_alternative_service_with_different_host(true), | |
124 enable_quic(false), | 123 enable_quic(false), |
125 mark_quic_broken_when_network_blackholes(false), | 124 mark_quic_broken_when_network_blackholes(false), |
126 retry_without_alt_svc_on_quic_errors(false), | 125 retry_without_alt_svc_on_quic_errors(false), |
127 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 126 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
128 quic_enable_connection_racing(false), | 127 quic_enable_connection_racing(false), |
129 quic_enable_non_blocking_io(false), | 128 quic_enable_non_blocking_io(false), |
130 quic_disable_disk_cache(false), | 129 quic_disable_disk_cache(false), |
131 quic_delay_tcp_race(true), | 130 quic_delay_tcp_race(true), |
132 quic_max_server_configs_stored_in_properties(0u), | 131 quic_max_server_configs_stored_in_properties(0u), |
133 quic_clock(nullptr), | 132 quic_clock(nullptr), |
(...skipping 335 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 |