| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 376 |
| 377 #if BUILDFLAG(ENABLE_EXTENSIONS) | 377 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 378 EasyUnlockService::RegisterPrefs(registry); | 378 EasyUnlockService::RegisterPrefs(registry); |
| 379 #endif | 379 #endif |
| 380 | 380 |
| 381 #if BUILDFLAG(ENABLE_PLUGINS) | 381 #if BUILDFLAG(ENABLE_PLUGINS) |
| 382 PluginFinder::RegisterPrefs(registry); | 382 PluginFinder::RegisterPrefs(registry); |
| 383 PluginsResourceService::RegisterPrefs(registry); | 383 PluginsResourceService::RegisterPrefs(registry); |
| 384 #endif | 384 #endif |
| 385 | 385 |
| 386 #if defined(OS_ANDROID) |
| 387 ::android::RegisterPrefs(registry); |
| 388 #endif |
| 389 |
| 386 #if !defined(OS_ANDROID) | 390 #if !defined(OS_ANDROID) |
| 387 task_manager::TaskManagerInterface::RegisterPrefs(registry); | 391 task_manager::TaskManagerInterface::RegisterPrefs(registry); |
| 388 #endif // !defined(OS_ANDROID) | 392 #endif // !defined(OS_ANDROID) |
| 389 | 393 |
| 390 #if BUILDFLAG(ENABLE_BACKGROUND) | 394 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 391 BackgroundModeManager::RegisterPrefs(registry); | 395 BackgroundModeManager::RegisterPrefs(registry); |
| 392 #endif | 396 #endif |
| 393 | 397 |
| 394 #if !defined(OS_ANDROID) | 398 #if !defined(OS_ANDROID) |
| 395 RegisterBrowserPrefs(registry); | 399 RegisterBrowserPrefs(registry); |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 } | 829 } |
| 826 | 830 |
| 827 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { | 831 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { |
| 828 auto pref_stores = ExpectedPrefStores(); | 832 auto pref_stores = ExpectedPrefStores(); |
| 829 pref_stores.erase(PrefValueStore::DEFAULT_STORE); | 833 pref_stores.erase(PrefValueStore::DEFAULT_STORE); |
| 830 pref_stores.erase(PrefValueStore::USER_STORE); | 834 pref_stores.erase(PrefValueStore::USER_STORE); |
| 831 return pref_stores; | 835 return pref_stores; |
| 832 } | 836 } |
| 833 | 837 |
| 834 } // namespace chrome | 838 } // namespace chrome |
| OLD | NEW |