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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 ChromeURLRequestContext* context = main_request_context(); | 951 ChromeURLRequestContext* context = main_request_context(); |
952 | 952 |
953 IOThread* const io_thread = profile_params->io_thread; | 953 IOThread* const io_thread = profile_params->io_thread; |
954 | 954 |
955 io_thread->InitializeNetworkSessionParams(params); | 955 io_thread->InitializeNetworkSessionParams(params); |
956 | 956 |
957 params->host_resolver = context->host_resolver(); | 957 params->host_resolver = context->host_resolver(); |
958 params->cert_verifier = context->cert_verifier(); | 958 params->cert_verifier = context->cert_verifier(); |
959 params->server_bound_cert_service = context->server_bound_cert_service(); | 959 params->server_bound_cert_service = context->server_bound_cert_service(); |
960 params->transport_security_state = context->transport_security_state(); | 960 params->transport_security_state = context->transport_security_state(); |
| 961 params->cert_transparency_verifier = context->cert_transparency_verifier(); |
961 params->proxy_service = context->proxy_service(); | 962 params->proxy_service = context->proxy_service(); |
962 params->ssl_session_cache_shard = GetSSLSessionCacheShard(); | 963 params->ssl_session_cache_shard = GetSSLSessionCacheShard(); |
963 params->ssl_config_service = context->ssl_config_service(); | 964 params->ssl_config_service = context->ssl_config_service(); |
964 params->http_auth_handler_factory = context->http_auth_handler_factory(); | 965 params->http_auth_handler_factory = context->http_auth_handler_factory(); |
965 params->network_delegate = network_delegate(); | 966 params->network_delegate = network_delegate(); |
966 params->http_server_properties = context->http_server_properties(); | 967 params->http_server_properties = context->http_server_properties(); |
967 params->net_log = context->net_log(); | 968 params->net_log = context->net_log(); |
968 } | 969 } |
969 | 970 |
970 void ProfileIOData::SetCookieSettingsForTesting( | 971 void ProfileIOData::SetCookieSettingsForTesting( |
971 CookieSettings* cookie_settings) { | 972 CookieSettings* cookie_settings) { |
972 DCHECK(!cookie_settings_.get()); | 973 DCHECK(!cookie_settings_.get()); |
973 cookie_settings_ = cookie_settings; | 974 cookie_settings_ = cookie_settings; |
974 } | 975 } |
975 | 976 |
976 void ProfileIOData::set_signin_names_for_testing( | 977 void ProfileIOData::set_signin_names_for_testing( |
977 SigninNamesOnIOThread* signin_names) { | 978 SigninNamesOnIOThread* signin_names) { |
978 signin_names_.reset(signin_names); | 979 signin_names_.reset(signin_names); |
979 } | 980 } |
OLD | NEW |