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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 enable_spdy_compression(true), | 82 enable_spdy_compression(true), |
83 enable_spdy_ping_based_connection_checking(true), | 83 enable_spdy_ping_based_connection_checking(true), |
84 spdy_default_protocol(kProtoUnknown), | 84 spdy_default_protocol(kProtoUnknown), |
85 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 85 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
86 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), | 86 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), |
87 spdy_initial_max_concurrent_streams(0), | 87 spdy_initial_max_concurrent_streams(0), |
88 time_func(&base::TimeTicks::Now), | 88 time_func(&base::TimeTicks::Now), |
89 use_alternate_protocols(false), | 89 use_alternate_protocols(false), |
90 alternative_service_probability_threshold(1), | 90 alternative_service_probability_threshold(1), |
91 enable_quic(false), | 91 enable_quic(false), |
| 92 disable_insecure_quic(false), |
92 enable_quic_for_proxies(false), | 93 enable_quic_for_proxies(false), |
93 enable_quic_port_selection(true), | 94 enable_quic_port_selection(true), |
94 quic_always_require_handshake_confirmation(false), | 95 quic_always_require_handshake_confirmation(false), |
95 quic_disable_connection_pooling(false), | 96 quic_disable_connection_pooling(false), |
96 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 97 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
97 quic_enable_connection_racing(false), | 98 quic_enable_connection_racing(false), |
98 quic_enable_non_blocking_io(false), | 99 quic_enable_non_blocking_io(false), |
99 quic_disable_disk_cache(false), | 100 quic_disable_disk_cache(false), |
100 quic_max_number_of_lossy_connections(0), | 101 quic_max_number_of_lossy_connections(0), |
101 quic_packet_loss_threshold(1.0f), | 102 quic_packet_loss_threshold(1.0f), |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 case WEBSOCKET_SOCKET_POOL: | 321 case WEBSOCKET_SOCKET_POOL: |
321 return websocket_socket_pool_manager_.get(); | 322 return websocket_socket_pool_manager_.get(); |
322 default: | 323 default: |
323 NOTREACHED(); | 324 NOTREACHED(); |
324 break; | 325 break; |
325 } | 326 } |
326 return NULL; | 327 return NULL; |
327 } | 328 } |
328 | 329 |
329 } // namespace net | 330 } // namespace net |
OLD | NEW |