OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/net/chrome_url_request_context.h" | 5 #include "chrome/browser/net/chrome_url_request_context.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 return false; | 820 return false; |
821 } | 821 } |
822 | 822 |
823 ChromeURLRequestContext::ChromeURLRequestContext( | 823 ChromeURLRequestContext::ChromeURLRequestContext( |
824 ChromeURLRequestContext* other) { | 824 ChromeURLRequestContext* other) { |
825 CheckCurrentlyOnIOThread(); | 825 CheckCurrentlyOnIOThread(); |
826 | 826 |
827 // Set URLRequestContext members | 827 // Set URLRequestContext members |
828 net_log_ = other->net_log_; | 828 net_log_ = other->net_log_; |
829 host_resolver_ = other->host_resolver_; | 829 host_resolver_ = other->host_resolver_; |
| 830 cert_verifier_ = other->cert_verifier_; |
| 831 dnsrr_resolver_ = other->dnsrr_resolver_; |
| 832 // How do we copy dns_cert_checker_, which is a scoped_ptr? |
830 proxy_service_ = other->proxy_service_; | 833 proxy_service_ = other->proxy_service_; |
831 ssl_config_service_ = other->ssl_config_service_; | 834 ssl_config_service_ = other->ssl_config_service_; |
832 http_transaction_factory_ = other->http_transaction_factory_; | 835 http_transaction_factory_ = other->http_transaction_factory_; |
833 ftp_transaction_factory_ = other->ftp_transaction_factory_; | 836 ftp_transaction_factory_ = other->ftp_transaction_factory_; |
834 cookie_store_ = other->cookie_store_; | 837 cookie_store_ = other->cookie_store_; |
835 cookie_policy_ = other->cookie_policy_; | 838 cookie_policy_ = other->cookie_policy_; |
836 transport_security_state_ = other->transport_security_state_; | 839 transport_security_state_ = other->transport_security_state_; |
837 accept_language_ = other->accept_language_; | 840 accept_language_ = other->accept_language_; |
838 accept_charset_ = other->accept_charset_; | 841 accept_charset_ = other->accept_charset_; |
839 referrer_charset_ = other->referrer_charset_; | 842 referrer_charset_ = other->referrer_charset_; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 context->set_host_zoom_map(host_zoom_map_); | 949 context->set_host_zoom_map(host_zoom_map_); |
947 context->set_transport_security_state( | 950 context->set_transport_security_state( |
948 transport_security_state_); | 951 transport_security_state_); |
949 context->set_ssl_config_service(ssl_config_service_); | 952 context->set_ssl_config_service(ssl_config_service_); |
950 context->set_appcache_service(appcache_service_); | 953 context->set_appcache_service(appcache_service_); |
951 context->set_database_tracker(database_tracker_); | 954 context->set_database_tracker(database_tracker_); |
952 context->set_blob_storage_context(blob_storage_context_); | 955 context->set_blob_storage_context(blob_storage_context_); |
953 context->set_file_system_context(file_system_context_); | 956 context->set_file_system_context(file_system_context_); |
954 context->set_extension_info_map(extension_info_map_); | 957 context->set_extension_info_map(extension_info_map_); |
955 } | 958 } |
OLD | NEW |