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 "chrome/browser/profiles/profile_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 ChromeURLRequestContext* context = main_request_context(); | 941 ChromeURLRequestContext* context = main_request_context(); |
942 | 942 |
943 IOThread* const io_thread = profile_params->io_thread; | 943 IOThread* const io_thread = profile_params->io_thread; |
944 | 944 |
945 io_thread->InitializeNetworkSessionParams(params); | 945 io_thread->InitializeNetworkSessionParams(params); |
946 | 946 |
947 params->host_resolver = context->host_resolver(); | 947 params->host_resolver = context->host_resolver(); |
948 params->cert_verifier = context->cert_verifier(); | 948 params->cert_verifier = context->cert_verifier(); |
949 params->server_bound_cert_service = context->server_bound_cert_service(); | 949 params->server_bound_cert_service = context->server_bound_cert_service(); |
950 params->transport_security_state = context->transport_security_state(); | 950 params->transport_security_state = context->transport_security_state(); |
| 951 params->cert_transparency_verifier = context->cert_transparency_verifier(); |
951 params->proxy_service = context->proxy_service(); | 952 params->proxy_service = context->proxy_service(); |
952 params->ssl_session_cache_shard = GetSSLSessionCacheShard(); | 953 params->ssl_session_cache_shard = GetSSLSessionCacheShard(); |
953 params->ssl_config_service = context->ssl_config_service(); | 954 params->ssl_config_service = context->ssl_config_service(); |
954 params->http_auth_handler_factory = context->http_auth_handler_factory(); | 955 params->http_auth_handler_factory = context->http_auth_handler_factory(); |
955 params->network_delegate = network_delegate(); | 956 params->network_delegate = network_delegate(); |
956 params->http_server_properties = context->http_server_properties(); | 957 params->http_server_properties = context->http_server_properties(); |
957 params->net_log = context->net_log(); | 958 params->net_log = context->net_log(); |
958 } | 959 } |
959 | 960 |
960 void ProfileIOData::SetCookieSettingsForTesting( | 961 void ProfileIOData::SetCookieSettingsForTesting( |
961 CookieSettings* cookie_settings) { | 962 CookieSettings* cookie_settings) { |
962 DCHECK(!cookie_settings_.get()); | 963 DCHECK(!cookie_settings_.get()); |
963 cookie_settings_ = cookie_settings; | 964 cookie_settings_ = cookie_settings; |
964 } | 965 } |
965 | 966 |
966 void ProfileIOData::set_signin_names_for_testing( | 967 void ProfileIOData::set_signin_names_for_testing( |
967 SigninNamesOnIOThread* signin_names) { | 968 SigninNamesOnIOThread* signin_names) { |
968 signin_names_.reset(signin_names); | 969 signin_names_.reset(signin_names); |
969 } | 970 } |
OLD | NEW |