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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 | 484 |
485 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( | 485 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( |
486 chrome_network_delegate.Pass(), true).Pass(); | 486 chrome_network_delegate.Pass(), true).Pass(); |
487 | 487 |
488 main_context->set_network_delegate(network_delegate_.get()); | 488 main_context->set_network_delegate(network_delegate_.get()); |
489 | 489 |
490 main_context->set_http_server_properties(http_server_properties()); | 490 main_context->set_http_server_properties(http_server_properties()); |
491 | 491 |
492 main_context->set_host_resolver( | 492 main_context->set_host_resolver( |
493 io_thread_globals->host_resolver.get()); | 493 io_thread_globals->host_resolver.get()); |
494 main_context->set_cert_transparency_verifier( | 494 |
495 io_thread_globals->cert_transparency_verifier.get()); | |
496 main_context->set_http_auth_handler_factory( | 495 main_context->set_http_auth_handler_factory( |
497 io_thread_globals->http_auth_handler_factory.get()); | 496 io_thread_globals->http_auth_handler_factory.get()); |
498 | 497 |
499 main_context->set_fraudulent_certificate_reporter( | 498 main_context->set_fraudulent_certificate_reporter( |
500 fraudulent_certificate_reporter()); | 499 fraudulent_certificate_reporter()); |
501 | 500 |
502 main_context->set_proxy_service(proxy_service()); | 501 main_context->set_proxy_service(proxy_service()); |
503 main_context->set_backoff_manager( | 502 main_context->set_backoff_manager( |
504 io_thread_globals->url_request_backoff_manager.get()); | 503 io_thread_globals->url_request_backoff_manager.get()); |
505 | 504 |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 const base::Closure& completion) { | 817 const base::Closure& completion) { |
819 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 818 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
820 DCHECK(initialized()); | 819 DCHECK(initialized()); |
821 | 820 |
822 DCHECK(transport_security_state()); | 821 DCHECK(transport_security_state()); |
823 // Completes synchronously. | 822 // Completes synchronously. |
824 transport_security_state()->DeleteAllDynamicDataSince(time); | 823 transport_security_state()->DeleteAllDynamicDataSince(time); |
825 DCHECK(http_server_properties_manager_); | 824 DCHECK(http_server_properties_manager_); |
826 http_server_properties_manager_->Clear(completion); | 825 http_server_properties_manager_->Clear(completion); |
827 } | 826 } |
OLD | NEW |