| 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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 370 |
| 371 #if BUILDFLAG(ENABLE_EXTENSIONS) | 371 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 372 EasyUnlockService::RegisterPrefs(registry); | 372 EasyUnlockService::RegisterPrefs(registry); |
| 373 #endif | 373 #endif |
| 374 | 374 |
| 375 #if BUILDFLAG(ENABLE_PLUGINS) | 375 #if BUILDFLAG(ENABLE_PLUGINS) |
| 376 PluginFinder::RegisterPrefs(registry); | 376 PluginFinder::RegisterPrefs(registry); |
| 377 PluginsResourceService::RegisterPrefs(registry); | 377 PluginsResourceService::RegisterPrefs(registry); |
| 378 #endif | 378 #endif |
| 379 | 379 |
| 380 #if defined(OS_ANDROID) |
| 381 ::android::RegisterPrefs(registry); |
| 382 #endif |
| 383 |
| 380 #if !defined(OS_ANDROID) | 384 #if !defined(OS_ANDROID) |
| 381 task_manager::TaskManagerInterface::RegisterPrefs(registry); | 385 task_manager::TaskManagerInterface::RegisterPrefs(registry); |
| 382 #endif // !defined(OS_ANDROID) | 386 #endif // !defined(OS_ANDROID) |
| 383 | 387 |
| 384 #if BUILDFLAG(ENABLE_BACKGROUND) | 388 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 385 BackgroundModeManager::RegisterPrefs(registry); | 389 BackgroundModeManager::RegisterPrefs(registry); |
| 386 #endif | 390 #endif |
| 387 | 391 |
| 388 #if !defined(OS_ANDROID) | 392 #if !defined(OS_ANDROID) |
| 389 RegisterBrowserPrefs(registry); | 393 RegisterBrowserPrefs(registry); |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 } | 813 } |
| 810 | 814 |
| 811 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { | 815 std::set<PrefValueStore::PrefStoreType> InProcessPrefStores() { |
| 812 auto pref_stores = ExpectedPrefStores(); | 816 auto pref_stores = ExpectedPrefStores(); |
| 813 pref_stores.erase(PrefValueStore::DEFAULT_STORE); | 817 pref_stores.erase(PrefValueStore::DEFAULT_STORE); |
| 814 pref_stores.erase(PrefValueStore::USER_STORE); | 818 pref_stores.erase(PrefValueStore::USER_STORE); |
| 815 return pref_stores; | 819 return pref_stores; |
| 816 } | 820 } |
| 817 | 821 |
| 818 } // namespace chrome | 822 } // namespace chrome |
| OLD | NEW |