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

Side by Side Diff: net/url_request/url_request_context_builder.cc

Issue 2318053004: Remove obsolete QUIC disabling code. (Closed)
Patch Set: Rebase Created 4 years, 3 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
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/url_request/url_request_context_builder.h" 5 #include "net/url_request/url_request_context_builder.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams() 182 URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams()
183 : ignore_certificate_errors(false), 183 : ignore_certificate_errors(false),
184 host_mapping_rules(NULL), 184 host_mapping_rules(NULL),
185 testing_fixed_http_port(0), 185 testing_fixed_http_port(0),
186 testing_fixed_https_port(0), 186 testing_fixed_https_port(0),
187 enable_http2(true), 187 enable_http2(true),
188 enable_quic(false), 188 enable_quic(false),
189 quic_max_server_configs_stored_in_properties(0), 189 quic_max_server_configs_stored_in_properties(0),
190 quic_delay_tcp_race(true), 190 quic_delay_tcp_race(true),
191 quic_max_number_of_lossy_connections(0),
192 quic_prefer_aes(false), 191 quic_prefer_aes(false),
193 quic_packet_loss_threshold(1.0f),
194 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), 192 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds),
195 quic_close_sessions_on_ip_change(false), 193 quic_close_sessions_on_ip_change(false),
196 quic_migrate_sessions_on_network_change(false), 194 quic_migrate_sessions_on_network_change(false),
197 quic_migrate_sessions_early(false), 195 quic_migrate_sessions_early(false),
198 quic_disable_bidirectional_streams(false), 196 quic_disable_bidirectional_streams(false),
199 quic_race_cert_verification(false) {} 197 quic_race_cert_verification(false) {}
200 198
201 URLRequestContextBuilder::HttpNetworkSessionParams::~HttpNetworkSessionParams() 199 URLRequestContextBuilder::HttpNetworkSessionParams::~HttpNetworkSessionParams()
202 {} 200 {}
203 201
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 http_network_session_params_.testing_fixed_http_port; 419 http_network_session_params_.testing_fixed_http_port;
422 network_session_params.testing_fixed_https_port = 420 network_session_params.testing_fixed_https_port =
423 http_network_session_params_.testing_fixed_https_port; 421 http_network_session_params_.testing_fixed_https_port;
424 network_session_params.enable_http2 = 422 network_session_params.enable_http2 =
425 http_network_session_params_.enable_http2; 423 http_network_session_params_.enable_http2;
426 network_session_params.enable_quic = http_network_session_params_.enable_quic; 424 network_session_params.enable_quic = http_network_session_params_.enable_quic;
427 network_session_params.quic_max_server_configs_stored_in_properties = 425 network_session_params.quic_max_server_configs_stored_in_properties =
428 http_network_session_params_.quic_max_server_configs_stored_in_properties; 426 http_network_session_params_.quic_max_server_configs_stored_in_properties;
429 network_session_params.quic_delay_tcp_race = 427 network_session_params.quic_delay_tcp_race =
430 http_network_session_params_.quic_delay_tcp_race; 428 http_network_session_params_.quic_delay_tcp_race;
431 network_session_params.quic_max_number_of_lossy_connections =
432 http_network_session_params_.quic_max_number_of_lossy_connections;
433 network_session_params.quic_packet_loss_threshold =
434 http_network_session_params_.quic_packet_loss_threshold;
435 network_session_params.quic_idle_connection_timeout_seconds = 429 network_session_params.quic_idle_connection_timeout_seconds =
436 http_network_session_params_.quic_idle_connection_timeout_seconds; 430 http_network_session_params_.quic_idle_connection_timeout_seconds;
437 network_session_params.quic_connection_options = 431 network_session_params.quic_connection_options =
438 http_network_session_params_.quic_connection_options; 432 http_network_session_params_.quic_connection_options;
439 network_session_params.quic_host_whitelist = 433 network_session_params.quic_host_whitelist =
440 http_network_session_params_.quic_host_whitelist; 434 http_network_session_params_.quic_host_whitelist;
441 network_session_params.quic_close_sessions_on_ip_change = 435 network_session_params.quic_close_sessions_on_ip_change =
442 http_network_session_params_.quic_close_sessions_on_ip_change; 436 http_network_session_params_.quic_close_sessions_on_ip_change;
443 network_session_params.quic_migrate_sessions_on_network_change = 437 network_session_params.quic_migrate_sessions_on_network_change =
444 http_network_session_params_.quic_migrate_sessions_on_network_change; 438 http_network_session_params_.quic_migrate_sessions_on_network_change;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 } 523 }
530 url_request_interceptors_.clear(); 524 url_request_interceptors_.clear();
531 } 525 }
532 storage->set_job_factory(std::move(top_job_factory)); 526 storage->set_job_factory(std::move(top_job_factory));
533 // TODO(willchan): Support sdch. 527 // TODO(willchan): Support sdch.
534 528
535 return std::move(context); 529 return std::move(context);
536 } 530 }
537 531
538 } // namespace net 532 } // namespace net
OLDNEW
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698