| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_with_different_host(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 retry_without_alt_svc_on_quic_errors(false), | |
| 131 quic_always_require_handshake_confirmation(false), | 130 quic_always_require_handshake_confirmation(false), |
| 132 quic_disable_connection_pooling(false), | 131 quic_disable_connection_pooling(false), |
| 133 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 132 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
| 134 quic_enable_connection_racing(false), | 133 quic_enable_connection_racing(false), |
| 135 quic_enable_non_blocking_io(false), | 134 quic_enable_non_blocking_io(false), |
| 136 quic_disable_disk_cache(false), | 135 quic_disable_disk_cache(false), |
| 137 quic_prefer_aes(false), | 136 quic_prefer_aes(false), |
| 138 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), | 137 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), |
| 139 quic_delay_tcp_race(true), | 138 quic_delay_tcp_race(true), |
| 140 quic_max_server_configs_stored_in_properties(0u), | 139 quic_max_server_configs_stored_in_properties(0u), |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 CloseIdleConnections(); | 481 CloseIdleConnections(); |
| 483 break; | 482 break; |
| 484 } | 483 } |
| 485 } | 484 } |
| 486 | 485 |
| 487 void HttpNetworkSession::OnPurgeMemory() { | 486 void HttpNetworkSession::OnPurgeMemory() { |
| 488 CloseIdleConnections(); | 487 CloseIdleConnections(); |
| 489 } | 488 } |
| 490 | 489 |
| 491 } // namespace net | 490 } // namespace net |
| OLD | NEW |