| 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_impl_io_data.h" | 5 #include "chrome/browser/profiles/profile_impl_io_data.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 | 477 |
| 478 main_context->set_transport_security_state(transport_security_state()); | 478 main_context->set_transport_security_state(transport_security_state()); |
| 479 main_context->set_ct_policy_enforcer( | 479 main_context->set_ct_policy_enforcer( |
| 480 io_thread_globals->ct_policy_enforcer.get()); | 480 io_thread_globals->ct_policy_enforcer.get()); |
| 481 | 481 |
| 482 main_context->set_net_log(io_thread->net_log()); | 482 main_context->set_net_log(io_thread->net_log()); |
| 483 | 483 |
| 484 main_context_storage->set_network_delegate( | 484 main_context_storage->set_network_delegate( |
| 485 data_reduction_proxy_io_data()->CreateNetworkDelegate( | 485 data_reduction_proxy_io_data()->CreateNetworkDelegate( |
| 486 io_thread_globals->data_use_ascriber->CreateNetworkDelegate( | 486 io_thread_globals->data_use_ascriber->CreateNetworkDelegate( |
| 487 std::move(chrome_network_delegate)), | 487 std::move(chrome_network_delegate), |
| 488 io_thread->GetMetricsDataUseForwarder()), |
| 488 true)); | 489 true)); |
| 489 | 490 |
| 490 main_context->set_host_resolver( | 491 main_context->set_host_resolver( |
| 491 io_thread_globals->host_resolver.get()); | 492 io_thread_globals->host_resolver.get()); |
| 492 | 493 |
| 493 main_context->set_http_auth_handler_factory( | 494 main_context->set_http_auth_handler_factory( |
| 494 io_thread_globals->http_auth_handler_factory.get()); | 495 io_thread_globals->http_auth_handler_factory.get()); |
| 495 | 496 |
| 496 main_context->set_proxy_service(proxy_service()); | 497 main_context->set_proxy_service(proxy_service()); |
| 497 | 498 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 const base::Closure& completion) { | 805 const base::Closure& completion) { |
| 805 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 806 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 806 DCHECK(initialized()); | 807 DCHECK(initialized()); |
| 807 | 808 |
| 808 DCHECK(transport_security_state()); | 809 DCHECK(transport_security_state()); |
| 809 // Completes synchronously. | 810 // Completes synchronously. |
| 810 transport_security_state()->DeleteAllDynamicDataSince(time); | 811 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 811 DCHECK(http_server_properties_manager_); | 812 DCHECK(http_server_properties_manager_); |
| 812 http_server_properties_manager_->Clear(completion); | 813 http_server_properties_manager_->Clear(completion); |
| 813 } | 814 } |
| OLD | NEW |