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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 375 |
376 #if BUILDFLAG(ENABLE_EXTENSIONS) | 376 #if BUILDFLAG(ENABLE_EXTENSIONS) |
377 EasyUnlockService::RegisterPrefs(registry); | 377 EasyUnlockService::RegisterPrefs(registry); |
378 #endif | 378 #endif |
379 | 379 |
380 #if BUILDFLAG(ENABLE_PLUGINS) | 380 #if BUILDFLAG(ENABLE_PLUGINS) |
381 PluginFinder::RegisterPrefs(registry); | 381 PluginFinder::RegisterPrefs(registry); |
382 PluginsResourceService::RegisterPrefs(registry); | 382 PluginsResourceService::RegisterPrefs(registry); |
383 #endif | 383 #endif |
384 | 384 |
| 385 #if defined(OS_ANDROID) |
| 386 ::android::RegisterPrefs(registry); |
| 387 #endif |
| 388 |
385 #if !defined(OS_ANDROID) | 389 #if !defined(OS_ANDROID) |
386 task_manager::TaskManagerInterface::RegisterPrefs(registry); | 390 task_manager::TaskManagerInterface::RegisterPrefs(registry); |
387 #endif // !defined(OS_ANDROID) | 391 #endif // !defined(OS_ANDROID) |
388 | 392 |
389 #if BUILDFLAG(ENABLE_BACKGROUND) | 393 #if BUILDFLAG(ENABLE_BACKGROUND) |
390 BackgroundModeManager::RegisterPrefs(registry); | 394 BackgroundModeManager::RegisterPrefs(registry); |
391 #endif | 395 #endif |
392 | 396 |
393 #if !defined(OS_ANDROID) | 397 #if !defined(OS_ANDROID) |
394 RegisterBrowserPrefs(registry); | 398 RegisterBrowserPrefs(registry); |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 } | 827 } |
824 | 828 |
825 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { | 829 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { |
826 auto pref_stores = ExpectedPrefStores(); | 830 auto pref_stores = ExpectedPrefStores(); |
827 pref_stores.erase(PrefValueStore::DEFAULT_STORE); | 831 pref_stores.erase(PrefValueStore::DEFAULT_STORE); |
828 pref_stores.erase(PrefValueStore::USER_STORE); | 832 pref_stores.erase(PrefValueStore::USER_STORE); |
829 return pref_stores; | 833 return pref_stores; |
830 } | 834 } |
831 | 835 |
832 } // namespace chrome | 836 } // namespace chrome |
OLD | NEW |