| 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 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | |
| 15 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
| 16 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 17 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
| 18 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
| 19 #include "net/base/cache_type.h" | 18 #include "net/base/cache_type.h" |
| 20 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
| 21 #include "net/base/network_delegate_impl.h" | 20 #include "net/base/network_delegate_impl.h" |
| 22 #include "net/base/sdch_manager.h" | 21 #include "net/base/sdch_manager.h" |
| 22 #include "net/base/trusted_spdy_proxy_provider.h" |
| 23 #include "net/cert/cert_verifier.h" | 23 #include "net/cert/cert_verifier.h" |
| 24 #include "net/cookies/cookie_monster.h" | 24 #include "net/cookies/cookie_monster.h" |
| 25 #include "net/dns/host_resolver.h" | 25 #include "net/dns/host_resolver.h" |
| 26 #include "net/ftp/ftp_network_layer.h" | 26 #include "net/ftp/ftp_network_layer.h" |
| 27 #include "net/http/http_auth_handler_factory.h" | 27 #include "net/http/http_auth_handler_factory.h" |
| 28 #include "net/http/http_cache.h" | 28 #include "net/http/http_cache.h" |
| 29 #include "net/http/http_network_layer.h" | 29 #include "net/http/http_network_layer.h" |
| 30 #include "net/http/http_server_properties_impl.h" | 30 #include "net/http/http_server_properties_impl.h" |
| 31 #include "net/http/http_server_properties_manager.h" | 31 #include "net/http/http_server_properties_manager.h" |
| 32 #include "net/http/transport_security_persister.h" | 32 #include "net/http/transport_security_persister.h" |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 network_session_params.ignore_certificate_errors = | 380 network_session_params.ignore_certificate_errors = |
| 381 http_network_session_params_.ignore_certificate_errors; | 381 http_network_session_params_.ignore_certificate_errors; |
| 382 network_session_params.host_mapping_rules = | 382 network_session_params.host_mapping_rules = |
| 383 http_network_session_params_.host_mapping_rules; | 383 http_network_session_params_.host_mapping_rules; |
| 384 network_session_params.testing_fixed_http_port = | 384 network_session_params.testing_fixed_http_port = |
| 385 http_network_session_params_.testing_fixed_http_port; | 385 http_network_session_params_.testing_fixed_http_port; |
| 386 network_session_params.testing_fixed_https_port = | 386 network_session_params.testing_fixed_https_port = |
| 387 http_network_session_params_.testing_fixed_https_port; | 387 http_network_session_params_.testing_fixed_https_port; |
| 388 network_session_params.use_alternative_services = | 388 network_session_params.use_alternative_services = |
| 389 http_network_session_params_.use_alternative_services; | 389 http_network_session_params_.use_alternative_services; |
| 390 network_session_params.trusted_spdy_proxy = | 390 network_session_params.trusted_spdy_proxy_provider = |
| 391 http_network_session_params_.trusted_spdy_proxy; | 391 http_network_session_params_.trusted_spdy_proxy_provider; |
| 392 network_session_params.next_protos = http_network_session_params_.next_protos; | 392 network_session_params.next_protos = http_network_session_params_.next_protos; |
| 393 network_session_params.enable_quic = http_network_session_params_.enable_quic; | 393 network_session_params.enable_quic = http_network_session_params_.enable_quic; |
| 394 network_session_params.quic_store_server_configs_in_properties = | 394 network_session_params.quic_store_server_configs_in_properties = |
| 395 http_network_session_params_.quic_store_server_configs_in_properties; | 395 http_network_session_params_.quic_store_server_configs_in_properties; |
| 396 network_session_params.quic_delay_tcp_race = | 396 network_session_params.quic_delay_tcp_race = |
| 397 http_network_session_params_.quic_delay_tcp_race; | 397 http_network_session_params_.quic_delay_tcp_race; |
| 398 network_session_params.quic_max_number_of_lossy_connections = | 398 network_session_params.quic_max_number_of_lossy_connections = |
| 399 http_network_session_params_.quic_max_number_of_lossy_connections; | 399 http_network_session_params_.quic_max_number_of_lossy_connections; |
| 400 network_session_params.quic_packet_loss_threshold = | 400 network_session_params.quic_packet_loss_threshold = |
| 401 http_network_session_params_.quic_packet_loss_threshold; | 401 http_network_session_params_.quic_packet_loss_threshold; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 } | 465 } |
| 466 url_request_interceptors_.clear(); | 466 url_request_interceptors_.clear(); |
| 467 } | 467 } |
| 468 storage->set_job_factory(std::move(top_job_factory)); | 468 storage->set_job_factory(std::move(top_job_factory)); |
| 469 // TODO(willchan): Support sdch. | 469 // TODO(willchan): Support sdch. |
| 470 | 470 |
| 471 return std::move(context); | 471 return std::move(context); |
| 472 } | 472 } |
| 473 | 473 |
| 474 } // namespace net | 474 } // namespace net |
| OLD | NEW |