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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 | 469 |
470 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( | 470 network_delegate_ = data_reduction_proxy_io_data()->CreateNetworkDelegate( |
471 chrome_network_delegate.Pass(), true).Pass(); | 471 chrome_network_delegate.Pass(), true).Pass(); |
472 | 472 |
473 main_context->set_network_delegate(network_delegate_.get()); | 473 main_context->set_network_delegate(network_delegate_.get()); |
474 | 474 |
475 main_context->set_http_server_properties(http_server_properties()); | 475 main_context->set_http_server_properties(http_server_properties()); |
476 | 476 |
477 main_context->set_host_resolver( | 477 main_context->set_host_resolver( |
478 io_thread_globals->host_resolver.get()); | 478 io_thread_globals->host_resolver.get()); |
479 main_context->set_cert_transparency_verifier( | 479 |
480 io_thread_globals->cert_transparency_verifier.get()); | |
481 main_context->set_http_auth_handler_factory( | 480 main_context->set_http_auth_handler_factory( |
482 io_thread_globals->http_auth_handler_factory.get()); | 481 io_thread_globals->http_auth_handler_factory.get()); |
483 | 482 |
484 main_context->set_proxy_service(proxy_service()); | 483 main_context->set_proxy_service(proxy_service()); |
485 main_context->set_backoff_manager( | 484 main_context->set_backoff_manager( |
486 io_thread_globals->url_request_backoff_manager.get()); | 485 io_thread_globals->url_request_backoff_manager.get()); |
487 | 486 |
488 scoped_refptr<net::CookieStore> cookie_store = NULL; | 487 scoped_refptr<net::CookieStore> cookie_store = NULL; |
489 net::ChannelIDService* channel_id_service = NULL; | 488 net::ChannelIDService* channel_id_service = NULL; |
490 | 489 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
790 const base::Closure& completion) { | 789 const base::Closure& completion) { |
791 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 790 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
792 DCHECK(initialized()); | 791 DCHECK(initialized()); |
793 | 792 |
794 DCHECK(transport_security_state()); | 793 DCHECK(transport_security_state()); |
795 // Completes synchronously. | 794 // Completes synchronously. |
796 transport_security_state()->DeleteAllDynamicDataSince(time); | 795 transport_security_state()->DeleteAllDynamicDataSince(time); |
797 DCHECK(http_server_properties_manager_); | 796 DCHECK(http_server_properties_manager_); |
798 http_server_properties_manager_->Clear(completion); | 797 http_server_properties_manager_->Clear(completion); |
799 } | 798 } |
OLD | NEW |