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...) Loading... |
82 enable_spdy_ping_based_connection_checking(true), | 82 enable_spdy_ping_based_connection_checking(true), |
83 spdy_default_protocol(kProtoUnknown), | 83 spdy_default_protocol(kProtoUnknown), |
84 spdy_stream_initial_recv_window_size(0), | 84 spdy_stream_initial_recv_window_size(0), |
85 spdy_initial_max_concurrent_streams(0), | 85 spdy_initial_max_concurrent_streams(0), |
86 spdy_max_concurrent_streams_limit(0), | 86 spdy_max_concurrent_streams_limit(0), |
87 time_func(&base::TimeTicks::Now), | 87 time_func(&base::TimeTicks::Now), |
88 force_spdy_over_ssl(true), | 88 force_spdy_over_ssl(true), |
89 force_spdy_always(false), | 89 force_spdy_always(false), |
90 use_alternate_protocols(false), | 90 use_alternate_protocols(false), |
91 alternate_protocol_probability_threshold(1), | 91 alternate_protocol_probability_threshold(1), |
92 enable_websocket_over_spdy(false), | |
93 enable_quic(false), | 92 enable_quic(false), |
94 enable_quic_port_selection(true), | 93 enable_quic_port_selection(true), |
95 quic_always_require_handshake_confirmation(false), | 94 quic_always_require_handshake_confirmation(false), |
96 quic_disable_connection_pooling(false), | 95 quic_disable_connection_pooling(false), |
97 quic_load_server_info_timeout_ms(0), | 96 quic_load_server_info_timeout_ms(0), |
98 quic_clock(NULL), | 97 quic_clock(NULL), |
99 quic_random(NULL), | 98 quic_random(NULL), |
100 quic_max_packet_length(kDefaultMaxPacketSize), | 99 quic_max_packet_length(kDefaultMaxPacketSize), |
101 enable_user_alternate_protocol_ports(false), | 100 enable_user_alternate_protocol_ports(false), |
102 quic_crypto_client_stream_factory(NULL), | 101 quic_crypto_client_stream_factory(NULL), |
(...skipping 211 matching lines...) Loading... |
314 case WEBSOCKET_SOCKET_POOL: | 313 case WEBSOCKET_SOCKET_POOL: |
315 return websocket_socket_pool_manager_.get(); | 314 return websocket_socket_pool_manager_.get(); |
316 default: | 315 default: |
317 NOTREACHED(); | 316 NOTREACHED(); |
318 break; | 317 break; |
319 } | 318 } |
320 return NULL; | 319 return NULL; |
321 } | 320 } |
322 | 321 |
323 } // namespace net | 322 } // namespace net |
OLD | NEW |