| 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 main_context->set_cert_transparency_verifier( |
| 495 io_thread_globals->cert_transparency_verifier.get()); | 495 io_thread_globals->cert_transparency_verifier.get()); |
| 496 main_context->set_http_auth_handler_factory( | 496 main_context->set_http_auth_handler_factory( |
| 497 io_thread_globals->http_auth_handler_factory.get()); | 497 io_thread_globals->http_auth_handler_factory.get()); |
| 498 | 498 |
| 499 main_context->set_fraudulent_certificate_reporter( | |
| 500 fraudulent_certificate_reporter()); | |
| 501 | |
| 502 main_context->set_proxy_service(proxy_service()); | 499 main_context->set_proxy_service(proxy_service()); |
| 503 main_context->set_backoff_manager( | 500 main_context->set_backoff_manager( |
| 504 io_thread_globals->url_request_backoff_manager.get()); | 501 io_thread_globals->url_request_backoff_manager.get()); |
| 505 | 502 |
| 506 scoped_refptr<net::CookieStore> cookie_store = NULL; | 503 scoped_refptr<net::CookieStore> cookie_store = NULL; |
| 507 net::ChannelIDService* channel_id_service = NULL; | 504 net::ChannelIDService* channel_id_service = NULL; |
| 508 | 505 |
| 509 // Set up cookie store. | 506 // Set up cookie store. |
| 510 if (!cookie_store.get()) { | 507 if (!cookie_store.get()) { |
| 511 DCHECK(!lazy_params_->cookie_path.empty()); | 508 DCHECK(!lazy_params_->cookie_path.empty()); |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 const base::Closure& completion) { | 815 const base::Closure& completion) { |
| 819 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 816 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
| 820 DCHECK(initialized()); | 817 DCHECK(initialized()); |
| 821 | 818 |
| 822 DCHECK(transport_security_state()); | 819 DCHECK(transport_security_state()); |
| 823 // Completes synchronously. | 820 // Completes synchronously. |
| 824 transport_security_state()->DeleteAllDynamicDataSince(time); | 821 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 825 DCHECK(http_server_properties_manager_); | 822 DCHECK(http_server_properties_manager_); |
| 826 http_server_properties_manager_->Clear(completion); | 823 http_server_properties_manager_->Clear(completion); |
| 827 } | 824 } |
| OLD | NEW |