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