| 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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 main_context->set_transport_security_state(transport_security_state()); | 320 main_context->set_transport_security_state(transport_security_state()); |
| 321 | 321 |
| 322 main_context->set_net_log(io_thread->net_log()); | 322 main_context->set_net_log(io_thread->net_log()); |
| 323 | 323 |
| 324 main_context->set_network_delegate(network_delegate()); | 324 main_context->set_network_delegate(network_delegate()); |
| 325 | 325 |
| 326 main_context->set_http_server_properties(http_server_properties()); | 326 main_context->set_http_server_properties(http_server_properties()); |
| 327 | 327 |
| 328 main_context->set_host_resolver( | 328 main_context->set_host_resolver( |
| 329 io_thread_globals->host_resolver.get()); | 329 io_thread_globals->host_resolver.get()); |
| 330 main_context->set_cert_verifier( | |
| 331 io_thread_globals->cert_verifier.get()); | |
| 332 main_context->set_http_auth_handler_factory( | 330 main_context->set_http_auth_handler_factory( |
| 333 io_thread_globals->http_auth_handler_factory.get()); | 331 io_thread_globals->http_auth_handler_factory.get()); |
| 334 | 332 |
| 335 main_context->set_fraudulent_certificate_reporter( | 333 main_context->set_fraudulent_certificate_reporter( |
| 336 fraudulent_certificate_reporter()); | 334 fraudulent_certificate_reporter()); |
| 337 | 335 |
| 338 main_context->set_throttler_manager( | 336 main_context->set_throttler_manager( |
| 339 io_thread_globals->throttler_manager.get()); | 337 io_thread_globals->throttler_manager.get()); |
| 340 | 338 |
| 341 main_context->set_proxy_service(proxy_service()); | 339 main_context->set_proxy_service(proxy_service()); |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 const base::Closure& completion) { | 675 const base::Closure& completion) { |
| 678 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 676 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| 679 DCHECK(initialized()); | 677 DCHECK(initialized()); |
| 680 | 678 |
| 681 DCHECK(transport_security_state()); | 679 DCHECK(transport_security_state()); |
| 682 // Completes synchronously. | 680 // Completes synchronously. |
| 683 transport_security_state()->DeleteAllDynamicDataSince(time); | 681 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 684 DCHECK(http_server_properties_manager_); | 682 DCHECK(http_server_properties_manager_); |
| 685 http_server_properties_manager_->Clear(completion); | 683 http_server_properties_manager_->Clear(completion); |
| 686 } | 684 } |
| OLD | NEW |