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/prefs/chrome_pref_service_factory.h" | 5 #include "chrome/browser/prefs/chrome_pref_service_factory.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/debug/trace_event.h" | |
13 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
14 #include "base/metrics/field_trial.h" | 13 #include "base/metrics/field_trial.h" |
15 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
16 #include "base/prefs/default_pref_store.h" | 15 #include "base/prefs/default_pref_store.h" |
17 #include "base/prefs/json_pref_store.h" | 16 #include "base/prefs/json_pref_store.h" |
18 #include "base/prefs/pref_filter.h" | 17 #include "base/prefs/pref_filter.h" |
19 #include "base/prefs/pref_notifier_impl.h" | 18 #include "base/prefs/pref_notifier_impl.h" |
20 #include "base/prefs/pref_registry.h" | 19 #include "base/prefs/pref_registry.h" |
21 #include "base/prefs/pref_registry_simple.h" | 20 #include "base/prefs/pref_registry_simple.h" |
22 #include "base/prefs/pref_service.h" | 21 #include "base/prefs/pref_service.h" |
23 #include "base/prefs/pref_store.h" | 22 #include "base/prefs/pref_store.h" |
24 #include "base/prefs/pref_value_store.h" | 23 #include "base/prefs/pref_value_store.h" |
25 #include "base/threading/sequenced_worker_pool.h" | 24 #include "base/threading/sequenced_worker_pool.h" |
26 #include "base/time/time.h" | 25 #include "base/time/time.h" |
| 26 #include "base/trace_event/trace_event.h" |
27 #include "chrome/browser/browser_process.h" | 27 #include "chrome/browser/browser_process.h" |
28 #include "chrome/browser/prefs/command_line_pref_store.h" | 28 #include "chrome/browser/prefs/command_line_pref_store.h" |
29 #include "chrome/browser/prefs/pref_model_associator.h" | 29 #include "chrome/browser/prefs/pref_model_associator.h" |
30 #include "chrome/browser/prefs/pref_service_syncable.h" | 30 #include "chrome/browser/prefs/pref_service_syncable.h" |
31 #include "chrome/browser/prefs/pref_service_syncable_factory.h" | 31 #include "chrome/browser/prefs/pref_service_syncable_factory.h" |
32 #include "chrome/browser/prefs/profile_pref_store_manager.h" | 32 #include "chrome/browser/prefs/profile_pref_store_manager.h" |
33 #include "chrome/browser/prefs/tracked/pref_hash_filter.h" | 33 #include "chrome/browser/prefs/tracked/pref_hash_filter.h" |
34 #include "chrome/browser/profiles/file_path_verifier_win.h" | 34 #include "chrome/browser/profiles/file_path_verifier_win.h" |
35 #include "chrome/browser/profiles/profile.h" | 35 #include "chrome/browser/profiles/profile.h" |
36 #include "chrome/browser/search_engines/default_search_pref_migration.h" | 36 #include "chrome/browser/search_engines/default_search_pref_migration.h" |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 538 |
539 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { | 539 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
540 ProfilePrefStoreManager::RegisterProfilePrefs(registry); | 540 ProfilePrefStoreManager::RegisterProfilePrefs(registry); |
541 } | 541 } |
542 | 542 |
543 void RegisterPrefs(PrefRegistrySimple* registry) { | 543 void RegisterPrefs(PrefRegistrySimple* registry) { |
544 ProfilePrefStoreManager::RegisterPrefs(registry); | 544 ProfilePrefStoreManager::RegisterPrefs(registry); |
545 } | 545 } |
546 | 546 |
547 } // namespace chrome_prefs | 547 } // namespace chrome_prefs |
OLD | NEW |