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