| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 quic_always_require_handshake_confirmation(false), | 106 quic_always_require_handshake_confirmation(false), |
| 107 quic_disable_connection_pooling(false), | 107 quic_disable_connection_pooling(false), |
| 108 quic_load_server_info_timeout_srtt_multiplier(0.25f), | 108 quic_load_server_info_timeout_srtt_multiplier(0.25f), |
| 109 quic_enable_connection_racing(false), | 109 quic_enable_connection_racing(false), |
| 110 quic_enable_non_blocking_io(false), | 110 quic_enable_non_blocking_io(false), |
| 111 quic_disable_disk_cache(false), | 111 quic_disable_disk_cache(false), |
| 112 quic_prefer_aes(false), | 112 quic_prefer_aes(false), |
| 113 quic_max_number_of_lossy_connections(0), | 113 quic_max_number_of_lossy_connections(0), |
| 114 quic_packet_loss_threshold(1.0f), | 114 quic_packet_loss_threshold(1.0f), |
| 115 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), | 115 quic_socket_receive_buffer_size(kQuicSocketReceiveBufferSize), |
| 116 quic_delay_tcp_race(false), | 116 quic_delay_tcp_race(true), |
| 117 quic_max_server_configs_stored_in_properties(0u), | 117 quic_max_server_configs_stored_in_properties(0u), |
| 118 quic_clock(NULL), | 118 quic_clock(NULL), |
| 119 quic_random(NULL), | 119 quic_random(NULL), |
| 120 quic_max_packet_length(kDefaultMaxPacketSize), | 120 quic_max_packet_length(kDefaultMaxPacketSize), |
| 121 enable_user_alternate_protocol_ports(false), | 121 enable_user_alternate_protocol_ports(false), |
| 122 quic_crypto_client_stream_factory( | 122 quic_crypto_client_stream_factory( |
| 123 QuicCryptoClientStreamFactory::GetDefaultFactory()), | 123 QuicCryptoClientStreamFactory::GetDefaultFactory()), |
| 124 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), | 124 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), |
| 125 quic_threshold_public_resets_post_handshake(0), | 125 quic_threshold_public_resets_post_handshake(0), |
| 126 quic_threshold_timeouts_streams_open(0), | 126 quic_threshold_timeouts_streams_open(0), |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 case WEBSOCKET_SOCKET_POOL: | 404 case WEBSOCKET_SOCKET_POOL: |
| 405 return websocket_socket_pool_manager_.get(); | 405 return websocket_socket_pool_manager_.get(); |
| 406 default: | 406 default: |
| 407 NOTREACHED(); | 407 NOTREACHED(); |
| 408 break; | 408 break; |
| 409 } | 409 } |
| 410 return NULL; | 410 return NULL; |
| 411 } | 411 } |
| 412 | 412 |
| 413 } // namespace net | 413 } // namespace net |
| OLD | NEW |