| 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/atomic_sequence_num.h" | 9 #include "base/atomic_sequence_num.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 testing_fixed_http_port(0), | 89 testing_fixed_http_port(0), |
| 90 testing_fixed_https_port(0), | 90 testing_fixed_https_port(0), |
| 91 enable_tcp_fast_open_for_ssl(false), | 91 enable_tcp_fast_open_for_ssl(false), |
| 92 enable_spdy_ping_based_connection_checking(true), | 92 enable_spdy_ping_based_connection_checking(true), |
| 93 spdy_default_protocol(kProtoUnknown), | 93 spdy_default_protocol(kProtoUnknown), |
| 94 enable_spdy31(false), | 94 enable_spdy31(false), |
| 95 enable_http2(true), | 95 enable_http2(true), |
| 96 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), | 96 spdy_session_max_recv_window_size(kSpdySessionMaxRecvWindowSize), |
| 97 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), | 97 spdy_stream_max_recv_window_size(kSpdyStreamMaxRecvWindowSize), |
| 98 time_func(&base::TimeTicks::Now), | 98 time_func(&base::TimeTicks::Now), |
| 99 enable_alternative_service_with_different_host(true), | 99 enable_http2_alternative_service_with_different_host(false), |
| 100 enable_quic_alternative_service_with_different_host(true), |
| 100 enable_alternative_service_for_insecure_origins(false), | 101 enable_alternative_service_for_insecure_origins(false), |
| 101 enable_npn(false), | 102 enable_npn(false), |
| 102 enable_priority_dependencies(true), | 103 enable_priority_dependencies(true), |
| 103 enable_quic(false), | 104 enable_quic(false), |
| 104 disable_quic_on_timeout_with_open_streams(false), | 105 disable_quic_on_timeout_with_open_streams(false), |
| 105 enable_quic_port_selection(true), | 106 enable_quic_port_selection(true), |
| 106 quic_always_require_handshake_confirmation(false), | 107 quic_always_require_handshake_confirmation(false), |
| 107 quic_disable_connection_pooling(false), | 108 quic_disable_connection_pooling(false), |
| 108 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 109 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
| 109 quic_enable_connection_racing(false), | 110 quic_enable_connection_racing(false), |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 case WEBSOCKET_SOCKET_POOL: | 406 case WEBSOCKET_SOCKET_POOL: |
| 406 return websocket_socket_pool_manager_.get(); | 407 return websocket_socket_pool_manager_.get(); |
| 407 default: | 408 default: |
| 408 NOTREACHED(); | 409 NOTREACHED(); |
| 409 break; | 410 break; |
| 410 } | 411 } |
| 411 return NULL; | 412 return NULL; |
| 412 } | 413 } |
| 413 | 414 |
| 414 } // namespace net | 415 } // namespace net |
| OLD | NEW |