Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: net/http/http_network_session.cc

Issue 1572753003: QUIC - Allow cronet apps to specify how many server configs are to be (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: load all server configs from disk Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(false),
117 quic_store_server_configs_in_properties(false), 117 quic_number_of_server_configs_stored_in_properties(0),
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(NULL), 122 quic_crypto_client_stream_factory(NULL),
123 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons), 123 quic_max_recent_disabled_reasons(kQuicMaxRecentDisabledReasons),
124 quic_threshold_public_resets_post_handshake(0), 124 quic_threshold_public_resets_post_handshake(0),
125 quic_threshold_timeouts_streams_open(0), 125 quic_threshold_timeouts_streams_open(0),
126 quic_close_sessions_on_ip_change(false), 126 quic_close_sessions_on_ip_change(false),
127 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), 127 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds),
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 params.quic_enable_non_blocking_io, 167 params.quic_enable_non_blocking_io,
168 params.quic_disable_disk_cache, 168 params.quic_disable_disk_cache,
169 params.quic_prefer_aes, 169 params.quic_prefer_aes,
170 params.quic_max_number_of_lossy_connections, 170 params.quic_max_number_of_lossy_connections,
171 params.quic_packet_loss_threshold, 171 params.quic_packet_loss_threshold,
172 params.quic_max_recent_disabled_reasons, 172 params.quic_max_recent_disabled_reasons,
173 params.quic_threshold_public_resets_post_handshake, 173 params.quic_threshold_public_resets_post_handshake,
174 params.quic_threshold_timeouts_streams_open, 174 params.quic_threshold_timeouts_streams_open,
175 params.quic_socket_receive_buffer_size, 175 params.quic_socket_receive_buffer_size,
176 params.quic_delay_tcp_race, 176 params.quic_delay_tcp_race,
177 params.quic_store_server_configs_in_properties, 177 params.quic_number_of_server_configs_stored_in_properties,
178 params.quic_close_sessions_on_ip_change, 178 params.quic_close_sessions_on_ip_change,
179 params.quic_idle_connection_timeout_seconds, 179 params.quic_idle_connection_timeout_seconds,
180 params.quic_connection_options), 180 params.quic_connection_options),
181 spdy_session_pool_(params.host_resolver, 181 spdy_session_pool_(params.host_resolver,
182 params.ssl_config_service, 182 params.ssl_config_service,
183 params.http_server_properties, 183 params.http_server_properties,
184 params.transport_security_state, 184 params.transport_security_state,
185 params.enable_spdy_compression, 185 params.enable_spdy_compression,
186 params.enable_spdy_ping_based_connection_checking, 186 params.enable_spdy_ping_based_connection_checking,
187 params.spdy_default_protocol, 187 params.spdy_default_protocol,
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 case WEBSOCKET_SOCKET_POOL: 365 case WEBSOCKET_SOCKET_POOL:
366 return websocket_socket_pool_manager_.get(); 366 return websocket_socket_pool_manager_.get();
367 default: 367 default:
368 NOTREACHED(); 368 NOTREACHED();
369 break; 369 break;
370 } 370 }
371 return NULL; 371 return NULL;
372 } 372 }
373 373
374 } // namespace net 374 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698