| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.h" | 5 #include "ios/chrome/browser/browser_state/chrome_browser_state_impl_io_data.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/prefs/json_pref_store.h" | |
| 15 #include "base/prefs/pref_filter.h" | |
| 16 #include "base/prefs/pref_service.h" | |
| 17 #include "base/sequenced_task_runner.h" | 14 #include "base/sequenced_task_runner.h" |
| 18 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
| 19 #include "base/threading/worker_pool.h" | 16 #include "base/threading/worker_pool.h" |
| 20 #include "components/cookie_config/cookie_store_util.h" | 17 #include "components/cookie_config/cookie_store_util.h" |
| 21 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" | 18 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_io_d
ata.h" |
| 22 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 19 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
| 23 #include "components/data_reduction_proxy/core/browser/data_store_impl.h" | 20 #include "components/data_reduction_proxy/core/browser/data_store_impl.h" |
| 24 #include "components/domain_reliability/monitor.h" | 21 #include "components/domain_reliability/monitor.h" |
| 25 #include "components/net_log/chrome_net_log.h" | 22 #include "components/net_log/chrome_net_log.h" |
| 23 #include "components/prefs/json_pref_store.h" |
| 24 #include "components/prefs/pref_filter.h" |
| 25 #include "components/prefs/pref_service.h" |
| 26 #include "ios/chrome/browser/application_context.h" | 26 #include "ios/chrome/browser/application_context.h" |
| 27 #include "ios/chrome/browser/chrome_constants.h" | 27 #include "ios/chrome/browser/chrome_constants.h" |
| 28 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_io_data.h" | 28 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_io_data.h" |
| 29 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings.h" | 29 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings.h" |
| 30 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings_factory.h" | 30 #include "ios/chrome/browser/data_reduction_proxy/ios_chrome_data_reduction_prox
y_settings_factory.h" |
| 31 #include "ios/chrome/browser/ios_chrome_io_thread.h" | 31 #include "ios/chrome/browser/ios_chrome_io_thread.h" |
| 32 #include "ios/chrome/browser/net/cookie_util.h" | 32 #include "ios/chrome/browser/net/cookie_util.h" |
| 33 #include "ios/chrome/browser/net/http_server_properties_manager_factory.h" | 33 #include "ios/chrome/browser/net/http_server_properties_manager_factory.h" |
| 34 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" | 34 #include "ios/chrome/browser/net/ios_chrome_network_delegate.h" |
| 35 #include "ios/chrome/browser/net/ios_chrome_url_request_context_getter.h" | 35 #include "ios/chrome/browser/net/ios_chrome_url_request_context_getter.h" |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 const base::Closure& completion) { | 505 const base::Closure& completion) { |
| 506 DCHECK_CURRENTLY_ON_WEB_THREAD(web::WebThread::IO); | 506 DCHECK_CURRENTLY_ON_WEB_THREAD(web::WebThread::IO); |
| 507 DCHECK(initialized()); | 507 DCHECK(initialized()); |
| 508 | 508 |
| 509 DCHECK(transport_security_state()); | 509 DCHECK(transport_security_state()); |
| 510 // Completes synchronously. | 510 // Completes synchronously. |
| 511 transport_security_state()->DeleteAllDynamicDataSince(time); | 511 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 512 DCHECK(http_server_properties_manager_); | 512 DCHECK(http_server_properties_manager_); |
| 513 http_server_properties_manager_->Clear(completion); | 513 http_server_properties_manager_->Clear(completion); |
| 514 } | 514 } |
| OLD | NEW |