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