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