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 <set> | 7 #include <set> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 | 475 |
476 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( | 476 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( |
477 chrome_network_delegate.Pass(), true).Pass(); | 477 chrome_network_delegate.Pass(), true).Pass(); |
478 | 478 |
479 main_context->set_network_delegate(network_delegate_.get()); | 479 main_context->set_network_delegate(network_delegate_.get()); |
480 | 480 |
481 main_context->set_http_server_properties(http_server_properties()); | 481 main_context->set_http_server_properties(http_server_properties()); |
482 | 482 |
483 main_context->set_host_resolver( | 483 main_context->set_host_resolver( |
484 io_thread_globals->host_resolver.get()); | 484 io_thread_globals->host_resolver.get()); |
485 main_context->set_cert_transparency_verifier( | 485 |
486 io_thread_globals->cert_transparency_verifier.get()); | |
487 main_context->set_http_auth_handler_factory( | 486 main_context->set_http_auth_handler_factory( |
488 io_thread_globals->http_auth_handler_factory.get()); | 487 io_thread_globals->http_auth_handler_factory.get()); |
489 | 488 |
490 main_context->set_fraudulent_certificate_reporter( | 489 main_context->set_fraudulent_certificate_reporter( |
491 fraudulent_certificate_reporter()); | 490 fraudulent_certificate_reporter()); |
492 | 491 |
493 main_context->set_throttler_manager( | 492 main_context->set_throttler_manager( |
494 io_thread_globals->throttler_manager.get()); | 493 io_thread_globals->throttler_manager.get()); |
495 | 494 |
496 main_context->set_proxy_service(proxy_service()); | 495 main_context->set_proxy_service(proxy_service()); |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 const base::Closure& completion) { | 810 const base::Closure& completion) { |
812 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 811 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
813 DCHECK(initialized()); | 812 DCHECK(initialized()); |
814 | 813 |
815 DCHECK(transport_security_state()); | 814 DCHECK(transport_security_state()); |
816 // Completes synchronously. | 815 // Completes synchronously. |
817 transport_security_state()->DeleteAllDynamicDataSince(time); | 816 transport_security_state()->DeleteAllDynamicDataSince(time); |
818 DCHECK(http_server_properties_manager_); | 817 DCHECK(http_server_properties_manager_); |
819 http_server_properties_manager_->Clear(completion); | 818 http_server_properties_manager_->Clear(completion); |
820 } | 819 } |
OLD | NEW |