| 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" |
| 11 #include "base/prefs/pref_member.h" | 11 #include "base/prefs/pref_member.h" |
| 12 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
| 13 #include "base/sequenced_task_runner.h" | |
| 14 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 14 #include "base/task/sequenced_task_runner.h" |
| 15 #include "base/threading/sequenced_worker_pool.h" | 15 #include "base/threading/sequenced_worker_pool.h" |
| 16 #include "base/threading/worker_pool.h" | 16 #include "base/threading/worker_pool.h" |
| 17 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 17 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
| 18 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 18 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
| 19 #include "chrome/browser/io_thread.h" | 19 #include "chrome/browser/io_thread.h" |
| 20 #include "chrome/browser/net/chrome_net_log.h" | 20 #include "chrome/browser/net/chrome_net_log.h" |
| 21 #include "chrome/browser/net/chrome_network_delegate.h" | 21 #include "chrome/browser/net/chrome_network_delegate.h" |
| 22 #include "chrome/browser/net/connect_interceptor.h" | 22 #include "chrome/browser/net/connect_interceptor.h" |
| 23 #include "chrome/browser/net/http_server_properties_manager.h" | 23 #include "chrome/browser/net/http_server_properties_manager.h" |
| 24 #include "chrome/browser/net/predictor.h" | 24 #include "chrome/browser/net/predictor.h" |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 const base::Closure& completion) { | 662 const base::Closure& completion) { |
| 663 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); | 663 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
| 664 DCHECK(initialized()); | 664 DCHECK(initialized()); |
| 665 | 665 |
| 666 DCHECK(transport_security_state()); | 666 DCHECK(transport_security_state()); |
| 667 // Completes synchronously. | 667 // Completes synchronously. |
| 668 transport_security_state()->DeleteAllDynamicDataSince(time); | 668 transport_security_state()->DeleteAllDynamicDataSince(time); |
| 669 DCHECK(http_server_properties_manager_); | 669 DCHECK(http_server_properties_manager_); |
| 670 http_server_properties_manager_->Clear(completion); | 670 http_server_properties_manager_->Clear(completion); |
| 671 } | 671 } |
| OLD | NEW |