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 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
14 #include "base/prefs/json_pref_store.h" | 15 #include "base/prefs/json_pref_store.h" |
15 #include "base/prefs/pref_filter.h" | 16 #include "base/prefs/pref_filter.h" |
16 #include "base/prefs/pref_member.h" | 17 #include "base/prefs/pref_member.h" |
17 #include "base/prefs/pref_service.h" | 18 #include "base/prefs/pref_service.h" |
18 #include "base/profiler/scoped_tracker.h" | 19 #include "base/profiler/scoped_tracker.h" |
19 #include "base/sequenced_task_runner.h" | 20 #include "base/sequenced_task_runner.h" |
20 #include "base/stl_util.h" | 21 #include "base/stl_util.h" |
21 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
22 #include "base/threading/sequenced_worker_pool.h" | 23 #include "base/threading/sequenced_worker_pool.h" |
23 #include "base/threading/worker_pool.h" | 24 #include "base/threading/worker_pool.h" |
| 25 #include "build/build_config.h" |
24 #include "chrome/browser/browser_process.h" | 26 #include "chrome/browser/browser_process.h" |
25 #include "chrome/browser/chrome_notification_types.h" | 27 #include "chrome/browser/chrome_notification_types.h" |
26 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 28 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
27 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" | 29 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" |
28 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 30 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
29 #include "chrome/browser/io_thread.h" | 31 #include "chrome/browser/io_thread.h" |
30 #include "chrome/browser/net/chrome_network_delegate.h" | 32 #include "chrome/browser/net/chrome_network_delegate.h" |
31 #include "chrome/browser/net/connect_interceptor.h" | 33 #include "chrome/browser/net/connect_interceptor.h" |
32 #include "chrome/browser/net/http_server_properties_manager_factory.h" | 34 #include "chrome/browser/net/http_server_properties_manager_factory.h" |
33 #include "chrome/browser/net/predictor.h" | 35 #include "chrome/browser/net/predictor.h" |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 const base::Closure& completion) { | 785 const base::Closure& completion) { |
784 DCHECK_CURRENTLY_ON(BrowserThread::IO); | 786 DCHECK_CURRENTLY_ON(BrowserThread::IO); |
785 DCHECK(initialized()); | 787 DCHECK(initialized()); |
786 | 788 |
787 DCHECK(transport_security_state()); | 789 DCHECK(transport_security_state()); |
788 // Completes synchronously. | 790 // Completes synchronously. |
789 transport_security_state()->DeleteAllDynamicDataSince(time); | 791 transport_security_state()->DeleteAllDynamicDataSince(time); |
790 DCHECK(http_server_properties_manager_); | 792 DCHECK(http_server_properties_manager_); |
791 http_server_properties_manager_->Clear(completion); | 793 http_server_properties_manager_->Clear(completion); |
792 } | 794 } |
OLD | NEW |