| 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 18 matching lines...) Expand all Loading... |
| 29 #include "chrome/common/chrome_constants.h" | 29 #include "chrome/common/chrome_constants.h" |
| 30 #include "chrome/common/chrome_notification_types.h" | 30 #include "chrome/common/chrome_notification_types.h" |
| 31 #include "chrome/common/chrome_switches.h" | 31 #include "chrome/common/chrome_switches.h" |
| 32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
| 33 #include "chrome/common/url_constants.h" | 33 #include "chrome/common/url_constants.h" |
| 34 #include "content/public/browser/browser_thread.h" | 34 #include "content/public/browser/browser_thread.h" |
| 35 #include "content/public/browser/notification_service.h" | 35 #include "content/public/browser/notification_service.h" |
| 36 #include "content/public/browser/resource_context.h" | 36 #include "content/public/browser/resource_context.h" |
| 37 #include "content/public/browser/storage_partition.h" | 37 #include "content/public/browser/storage_partition.h" |
| 38 #include "extensions/common/constants.h" | 38 #include "extensions/common/constants.h" |
| 39 #include "net/base/server_bound_cert_service.h" | |
| 40 #include "net/ftp/ftp_network_layer.h" | 39 #include "net/ftp/ftp_network_layer.h" |
| 41 #include "net/http/http_cache.h" | 40 #include "net/http/http_cache.h" |
| 41 #include "net/ssl/server_bound_cert_service.h" |
| 42 #include "net/url_request/protocol_intercept_job_factory.h" | 42 #include "net/url_request/protocol_intercept_job_factory.h" |
| 43 #include "net/url_request/url_request_job_factory_impl.h" | 43 #include "net/url_request/url_request_job_factory_impl.h" |
| 44 #include "webkit/quota/special_storage_policy.h" | 44 #include "webkit/quota/special_storage_policy.h" |
| 45 | 45 |
| 46 using content::BrowserThread; | 46 using content::BrowserThread; |
| 47 | 47 |
| 48 ProfileImplIOData::Handle::Handle(Profile* profile) | 48 ProfileImplIOData::Handle::Handle(Profile* profile) |
| 49 : io_data_(new ProfileImplIOData), | 49 : io_data_(new ProfileImplIOData), |
| 50 profile_(profile), | 50 profile_(profile), |
| 51 initialized_(false) { | 51 initialized_(false) { |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 const base::Closure& completion) { | 677 const base::Closure& completion) { |
| 678 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 678 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| 679 DCHECK(initialized()); | 679 DCHECK(initialized()); |
| 680 | 680 |
| 681 DCHECK(transport_security_state()); | 681 DCHECK(transport_security_state()); |
| 682 // Completes synchronously. | 682 // Completes synchronously. |
| 683 transport_security_state()->DeleteAllDynamicDataSince(time); | 683 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 684 DCHECK(http_server_properties_manager_); | 684 DCHECK(http_server_properties_manager_); |
| 685 http_server_properties_manager_->Clear(completion); | 685 http_server_properties_manager_->Clear(completion); |
| 686 } | 686 } |
| OLD | NEW |