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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/debug/stack_trace.h" | 10 #include "base/debug/stack_trace.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 testing_fixed_http_port(0), | 83 testing_fixed_http_port(0), |
84 testing_fixed_https_port(0), | 84 testing_fixed_https_port(0), |
85 enable_tcp_fast_open_for_ssl(false), | 85 enable_tcp_fast_open_for_ssl(false), |
86 enable_spdy_compression(true), | 86 enable_spdy_compression(true), |
87 enable_spdy_ping_based_connection_checking(true), | 87 enable_spdy_ping_based_connection_checking(true), |
88 spdy_default_protocol(kProtoUnknown), | 88 spdy_default_protocol(kProtoUnknown), |
89 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 89 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
90 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), | 90 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), |
91 spdy_initial_max_concurrent_streams(0), | 91 spdy_initial_max_concurrent_streams(0), |
92 time_func(&base::TimeTicks::Now), | 92 time_func(&base::TimeTicks::Now), |
93 use_alternate_protocols(false), | 93 use_alternative_services(false), |
94 alternative_service_probability_threshold(1), | 94 alternative_service_probability_threshold(1), |
95 enable_quic(false), | 95 enable_quic(false), |
96 enable_insecure_quic(false), | 96 enable_insecure_quic(false), |
97 enable_quic_for_proxies(false), | 97 enable_quic_for_proxies(false), |
98 enable_quic_port_selection(true), | 98 enable_quic_port_selection(true), |
99 quic_always_require_handshake_confirmation(false), | 99 quic_always_require_handshake_confirmation(false), |
100 quic_disable_connection_pooling(false), | 100 quic_disable_connection_pooling(false), |
101 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 101 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
102 quic_enable_connection_racing(false), | 102 quic_enable_connection_racing(false), |
103 quic_enable_non_blocking_io(false), | 103 quic_enable_non_blocking_io(false), |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 case WEBSOCKET_SOCKET_POOL: | 336 case WEBSOCKET_SOCKET_POOL: |
337 return websocket_socket_pool_manager_.get(); | 337 return websocket_socket_pool_manager_.get(); |
338 default: | 338 default: |
339 NOTREACHED(); | 339 NOTREACHED(); |
340 break; | 340 break; |
341 } | 341 } |
342 return NULL; | 342 return NULL; |
343 } | 343 } |
344 | 344 |
345 } // namespace net | 345 } // namespace net |
OLD | NEW |