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/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "extensions/browser/extension_protocols.h" | 42 #include "extensions/browser/extension_protocols.h" |
43 #include "extensions/common/constants.h" | 43 #include "extensions/common/constants.h" |
44 #include "net/base/cache_type.h" | 44 #include "net/base/cache_type.h" |
45 #include "net/base/sdch_dictionary_fetcher.h" | 45 #include "net/base/sdch_dictionary_fetcher.h" |
46 #include "net/base/sdch_manager.h" | 46 #include "net/base/sdch_manager.h" |
47 #include "net/ftp/ftp_network_layer.h" | 47 #include "net/ftp/ftp_network_layer.h" |
48 #include "net/http/http_cache.h" | 48 #include "net/http/http_cache.h" |
49 #include "net/http/http_server_properties_manager.h" | 49 #include "net/http/http_server_properties_manager.h" |
50 #include "net/ssl/channel_id_service.h" | 50 #include "net/ssl/channel_id_service.h" |
51 #include "net/url_request/url_request_job_factory_impl.h" | 51 #include "net/url_request/url_request_job_factory_impl.h" |
52 #include "webkit/browser/quota/special_storage_policy.h" | 52 #include "storage/browser/quota/special_storage_policy.h" |
53 | 53 |
54 #if defined(SPDY_PROXY_AUTH_ORIGIN) | 54 #if defined(SPDY_PROXY_AUTH_ORIGIN) |
55 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" | 55 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" |
56 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ
est_handler.h" | 56 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ
est_handler.h" |
57 #include "components/data_reduction_proxy/browser/data_reduction_proxy_protocol.
h" | 57 #include "components/data_reduction_proxy/browser/data_reduction_proxy_protocol.
h" |
58 #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_sta
ts.h" | 58 #include "components/data_reduction_proxy/browser/data_reduction_proxy_usage_sta
ts.h" |
59 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" | 59 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" |
60 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) | 60 #endif // defined(SPDY_PROXY_AUTH_ORIGIN) |
61 | 61 |
62 namespace { | 62 namespace { |
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 const base::Closure& completion) { | 826 const base::Closure& completion) { |
827 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 827 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
828 DCHECK(initialized()); | 828 DCHECK(initialized()); |
829 | 829 |
830 DCHECK(transport_security_state()); | 830 DCHECK(transport_security_state()); |
831 // Completes synchronously. | 831 // Completes synchronously. |
832 transport_security_state()->DeleteAllDynamicDataSince(time); | 832 transport_security_state()->DeleteAllDynamicDataSince(time); |
833 DCHECK(http_server_properties_manager_); | 833 DCHECK(http_server_properties_manager_); |
834 http_server_properties_manager_->Clear(completion); | 834 http_server_properties_manager_->Clear(completion); |
835 } | 835 } |
OLD | NEW |