| 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/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 #include "chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h" | 232 #include "chrome/browser/ui/webui/chromeos/login/hid_detection_screen_handler.h" |
| 233 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" | 233 #include "chrome/browser/ui/webui/chromeos/login/reset_screen_handler.h" |
| 234 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 234 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 235 #include "chromeos/audio/audio_devices_pref_handler_impl.h" | 235 #include "chromeos/audio/audio_devices_pref_handler_impl.h" |
| 236 #include "chromeos/chromeos_switches.h" | 236 #include "chromeos/chromeos_switches.h" |
| 237 #include "chromeos/network/proxy/proxy_config_handler.h" | 237 #include "chromeos/network/proxy/proxy_config_handler.h" |
| 238 #include "chromeos/timezone/timezone_resolver.h" | 238 #include "chromeos/timezone/timezone_resolver.h" |
| 239 #include "components/invalidation/impl/invalidator_storage.h" | 239 #include "components/invalidation/impl/invalidator_storage.h" |
| 240 #include "components/onc/onc_pref_names.h" | 240 #include "components/onc/onc_pref_names.h" |
| 241 #include "components/quirks/quirks_manager.h" | 241 #include "components/quirks/quirks_manager.h" |
| 242 #include "extensions/browser/api/lock_screen_data/lock_screen_item_storage.h" |
| 242 #else | 243 #else |
| 243 #include "chrome/browser/extensions/default_apps.h" | 244 #include "chrome/browser/extensions/default_apps.h" |
| 244 #endif | 245 #endif |
| 245 | 246 |
| 246 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) | 247 #if defined(OS_CHROMEOS) && BUILDFLAG(ENABLE_APP_LIST) |
| 247 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" | 248 #include "chrome/browser/ui/app_list/arc/arc_app_list_prefs.h" |
| 248 #endif | 249 #endif |
| 249 | 250 |
| 250 #if defined(OS_MACOSX) | 251 #if defined(OS_MACOSX) |
| 251 #include "chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h" | 252 #include "chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.h" |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 chromeos::SigninScreenHandler::RegisterPrefs(registry); | 400 chromeos::SigninScreenHandler::RegisterPrefs(registry); |
| 400 chromeos::StartupUtils::RegisterPrefs(registry); | 401 chromeos::StartupUtils::RegisterPrefs(registry); |
| 401 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); | 402 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); |
| 402 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); | 403 chromeos::system::InputDeviceSettings::RegisterPrefs(registry); |
| 403 chromeos::TimeZoneResolver::RegisterPrefs(registry); | 404 chromeos::TimeZoneResolver::RegisterPrefs(registry); |
| 404 chromeos::UserImageManager::RegisterPrefs(registry); | 405 chromeos::UserImageManager::RegisterPrefs(registry); |
| 405 chromeos::UserSessionManager::RegisterPrefs(registry); | 406 chromeos::UserSessionManager::RegisterPrefs(registry); |
| 406 chromeos::WallpaperManager::RegisterPrefs(registry); | 407 chromeos::WallpaperManager::RegisterPrefs(registry); |
| 407 chromeos::echo_offer::RegisterPrefs(registry); | 408 chromeos::echo_offer::RegisterPrefs(registry); |
| 408 extensions::ExtensionAssetsManagerChromeOS::RegisterPrefs(registry); | 409 extensions::ExtensionAssetsManagerChromeOS::RegisterPrefs(registry); |
| 410 extensions::lock_screen_data::LockScreenItemStorage::RegisterLocalState( |
| 411 registry); |
| 409 invalidation::InvalidatorStorage::RegisterPrefs(registry); | 412 invalidation::InvalidatorStorage::RegisterPrefs(registry); |
| 410 ::onc::RegisterPrefs(registry); | 413 ::onc::RegisterPrefs(registry); |
| 411 policy::AutoEnrollmentClient::RegisterPrefs(registry); | 414 policy::AutoEnrollmentClient::RegisterPrefs(registry); |
| 412 policy::BrowserPolicyConnectorChromeOS::RegisterPrefs(registry); | 415 policy::BrowserPolicyConnectorChromeOS::RegisterPrefs(registry); |
| 413 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); | 416 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); |
| 414 policy::DeviceStatusCollector::RegisterPrefs(registry); | 417 policy::DeviceStatusCollector::RegisterPrefs(registry); |
| 415 policy::DMTokenStorage::RegisterPrefs(registry); | 418 policy::DMTokenStorage::RegisterPrefs(registry); |
| 416 policy::PolicyCertServiceFactory::RegisterPrefs(registry); | 419 policy::PolicyCertServiceFactory::RegisterPrefs(registry); |
| 417 quirks::QuirksManager::RegisterPrefs(registry); | 420 quirks::QuirksManager::RegisterPrefs(registry); |
| 418 | 421 |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 // default values for all prefs locally. Since we already have the defaults it | 754 // default values for all prefs locally. Since we already have the defaults it |
| 752 // would be wasteful to request them from the service by connecting to the | 755 // would be wasteful to request them from the service by connecting to the |
| 753 // DEFAULT_STORE. | 756 // DEFAULT_STORE. |
| 754 // TODO(sammc): Once we have this distinction, connect to the default pref | 757 // TODO(sammc): Once we have this distinction, connect to the default pref |
| 755 // store here (by erasing it from |pref_stores|). | 758 // store here (by erasing it from |pref_stores|). |
| 756 pref_stores.erase(PrefValueStore::USER_STORE); | 759 pref_stores.erase(PrefValueStore::USER_STORE); |
| 757 return pref_stores; | 760 return pref_stores; |
| 758 } | 761 } |
| 759 | 762 |
| 760 } // namespace chrome | 763 } // namespace chrome |
| OLD | NEW |