| 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/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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 URLRequestContextBuilder::HttpCacheParams::HttpCacheParams() | 171 URLRequestContextBuilder::HttpCacheParams::HttpCacheParams() |
| 172 : type(IN_MEMORY), | 172 : type(IN_MEMORY), |
| 173 max_size(0) {} | 173 max_size(0) {} |
| 174 URLRequestContextBuilder::HttpCacheParams::~HttpCacheParams() {} | 174 URLRequestContextBuilder::HttpCacheParams::~HttpCacheParams() {} |
| 175 | 175 |
| 176 URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams() | 176 URLRequestContextBuilder::HttpNetworkSessionParams::HttpNetworkSessionParams() |
| 177 : ignore_certificate_errors(false), | 177 : ignore_certificate_errors(false), |
| 178 host_mapping_rules(NULL), | 178 host_mapping_rules(NULL), |
| 179 testing_fixed_http_port(0), | 179 testing_fixed_http_port(0), |
| 180 testing_fixed_https_port(0), | 180 testing_fixed_https_port(0), |
| 181 enable_spdy31(true), | 181 enable_spdy31(false), |
| 182 enable_http2(true), | 182 enable_http2(true), |
| 183 parse_alternative_services(false), | 183 parse_alternative_services(false), |
| 184 enable_alternative_service_with_different_host(false), | 184 enable_alternative_service_with_different_host(false), |
| 185 enable_quic(false), | 185 enable_quic(false), |
| 186 quic_max_server_configs_stored_in_properties(0), | 186 quic_max_server_configs_stored_in_properties(0), |
| 187 quic_delay_tcp_race(false), | 187 quic_delay_tcp_race(false), |
| 188 quic_max_number_of_lossy_connections(0), | 188 quic_max_number_of_lossy_connections(0), |
| 189 quic_prefer_aes(false), | 189 quic_prefer_aes(false), |
| 190 quic_packet_loss_threshold(1.0f), | 190 quic_packet_loss_threshold(1.0f), |
| 191 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), | 191 quic_idle_connection_timeout_seconds(kIdleConnectionTimeoutSeconds), |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 } | 513 } |
| 514 url_request_interceptors_.clear(); | 514 url_request_interceptors_.clear(); |
| 515 } | 515 } |
| 516 storage->set_job_factory(std::move(top_job_factory)); | 516 storage->set_job_factory(std::move(top_job_factory)); |
| 517 // TODO(willchan): Support sdch. | 517 // TODO(willchan): Support sdch. |
| 518 | 518 |
| 519 return std::move(context); | 519 return std::move(context); |
| 520 } | 520 } |
| 521 | 521 |
| 522 } // namespace net | 522 } // namespace net |
| OLD | NEW |