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 <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/logging.h" | 13 #include "base/logging.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/metrics/field_trial.h" | 16 #include "base/metrics/field_trial.h" |
17 #include "base/profiler/scoped_tracker.h" | |
18 #include "base/sequenced_task_runner.h" | 17 #include "base/sequenced_task_runner.h" |
19 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
20 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
21 #include "base/threading/sequenced_worker_pool.h" | 20 #include "base/threading/sequenced_worker_pool.h" |
22 #include "base/threading/worker_pool.h" | 21 #include "base/threading/worker_pool.h" |
23 #include "build/build_config.h" | 22 #include "build/build_config.h" |
24 #include "chrome/browser/browser_process.h" | 23 #include "chrome/browser/browser_process.h" |
25 #include "chrome/browser/chrome_notification_types.h" | 24 #include "chrome/browser/chrome_notification_types.h" |
26 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 25 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
27 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 26 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 const base::Closure& completion) { | 771 const base::Closure& completion) { |
773 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 772 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
774 DCHECK(initialized()); | 773 DCHECK(initialized()); |
775 | 774 |
776 DCHECK(transport_security_state()); | 775 DCHECK(transport_security_state()); |
777 // Completes synchronously. | 776 // Completes synchronously. |
778 transport_security_state()->DeleteAllDynamicDataSince(time); | 777 transport_security_state()->DeleteAllDynamicDataSince(time); |
779 DCHECK(http_server_properties_manager_); | 778 DCHECK(http_server_properties_manager_); |
780 http_server_properties_manager_->Clear(completion); | 779 http_server_properties_manager_->Clear(completion); |
781 } | 780 } |
OLD | NEW |