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" |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 #if defined(ENABLE_EXTENSIONS) | 154 #if defined(ENABLE_EXTENSIONS) |
155 { | 155 { |
156 // This pref has been deprecated, leave it here for now for it to be | 156 // This pref has been deprecated, leave it here for now for it to be |
157 // properly mapped back to Preferences and cleaned up from there. | 157 // properly mapped back to Preferences and cleaned up from there. |
158 12, extensions::pref_names::kKnownDisabled, | 158 12, extensions::pref_names::kKnownDisabled, |
159 PrefHashFilter::NO_ENFORCEMENT, | 159 PrefHashFilter::NO_ENFORCEMENT, |
160 PrefHashFilter::TRACKING_STRATEGY_ATOMIC | 160 PrefHashFilter::TRACKING_STRATEGY_ATOMIC |
161 }, | 161 }, |
162 #endif | 162 #endif |
163 { | 163 { |
| 164 // This pref has been deprecated, leave it here for now for it to be |
| 165 // properly mapped back to Preferences and cleaned up from there. |
164 13, prefs::kProfileResetPromptMemento, | 166 13, prefs::kProfileResetPromptMemento, |
165 PrefHashFilter::ENFORCE_ON_LOAD, | 167 PrefHashFilter::NO_ENFORCEMENT, |
166 PrefHashFilter::TRACKING_STRATEGY_ATOMIC | 168 PrefHashFilter::TRACKING_STRATEGY_ATOMIC |
167 }, | 169 }, |
168 { | 170 { |
169 14, DefaultSearchManager::kDefaultSearchProviderDataPrefName, | 171 14, DefaultSearchManager::kDefaultSearchProviderDataPrefName, |
170 PrefHashFilter::NO_ENFORCEMENT, | 172 PrefHashFilter::NO_ENFORCEMENT, |
171 PrefHashFilter::TRACKING_STRATEGY_ATOMIC | 173 PrefHashFilter::TRACKING_STRATEGY_ATOMIC |
172 }, | 174 }, |
173 { | 175 { |
174 // Protecting kPreferenceResetTime does two things: | 176 // Protecting kPreferenceResetTime does two things: |
175 // 1) It ensures this isn't accidently set by someone stomping the pref | 177 // 1) It ensures this isn't accidently set by someone stomping the pref |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 | 526 |
525 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { | 527 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) { |
526 ProfilePrefStoreManager::RegisterProfilePrefs(registry); | 528 ProfilePrefStoreManager::RegisterProfilePrefs(registry); |
527 } | 529 } |
528 | 530 |
529 void RegisterPrefs(PrefRegistrySimple* registry) { | 531 void RegisterPrefs(PrefRegistrySimple* registry) { |
530 ProfilePrefStoreManager::RegisterPrefs(registry); | 532 ProfilePrefStoreManager::RegisterPrefs(registry); |
531 } | 533 } |
532 | 534 |
533 } // namespace chrome_prefs | 535 } // namespace chrome_prefs |
OLD | NEW |