| 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 "apps/prefs.h" | 7 #include "apps/prefs.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "base/prefs/pref_registry_simple.h" | 9 #include "base/prefs/pref_registry_simple.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 #include "chrome/browser/chromeos/login/multi_profile_user_controller.h" | 146 #include "chrome/browser/chromeos/login/multi_profile_user_controller.h" |
| 147 #include "chrome/browser/chromeos/login/startup_utils.h" | 147 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 148 #include "chrome/browser/chromeos/login/user_image_manager.h" | 148 #include "chrome/browser/chromeos/login/user_image_manager.h" |
| 149 #include "chrome/browser/chromeos/login/user_image_sync_observer.h" | 149 #include "chrome/browser/chromeos/login/user_image_sync_observer.h" |
| 150 #include "chrome/browser/chromeos/login/user_manager.h" | 150 #include "chrome/browser/chromeos/login/user_manager.h" |
| 151 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 151 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
| 152 #include "chrome/browser/chromeos/net/proxy_config_handler.h" | 152 #include "chrome/browser/chromeos/net/proxy_config_handler.h" |
| 153 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" | 153 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" |
| 154 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 154 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
| 155 #include "chrome/browser/chromeos/policy/device_status_collector.h" | 155 #include "chrome/browser/chromeos/policy/device_status_collector.h" |
| 156 #include "chrome/browser/chromeos/policy/policy_cert_service_factory.h" |
| 156 #include "chrome/browser/chromeos/power/power_prefs.h" | 157 #include "chrome/browser/chromeos/power/power_prefs.h" |
| 157 #include "chrome/browser/chromeos/preferences.h" | 158 #include "chrome/browser/chromeos/preferences.h" |
| 158 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h" | 159 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h" |
| 159 #include "chrome/browser/chromeos/settings/device_settings_cache.h" | 160 #include "chrome/browser/chromeos/settings/device_settings_cache.h" |
| 160 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 161 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
| 161 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 162 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" |
| 162 #include "chrome/browser/extensions/api/enterprise_platform_keys_private/enterpr
ise_platform_keys_private_api.h" | 163 #include "chrome/browser/extensions/api/enterprise_platform_keys_private/enterpr
ise_platform_keys_private_api.h" |
| 163 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" | 164 #include "chrome/browser/ui/webui/chromeos/charger_replacement_handler.h" |
| 164 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 165 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 165 #else | 166 #else |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 chromeos::SigninScreenHandler::RegisterPrefs(registry); | 299 chromeos::SigninScreenHandler::RegisterPrefs(registry); |
| 299 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); | 300 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); |
| 300 chromeos::UserImageManager::RegisterPrefs(registry); | 301 chromeos::UserImageManager::RegisterPrefs(registry); |
| 301 chromeos::UserManager::RegisterPrefs(registry); | 302 chromeos::UserManager::RegisterPrefs(registry); |
| 302 chromeos::WallpaperManager::RegisterPrefs(registry); | 303 chromeos::WallpaperManager::RegisterPrefs(registry); |
| 303 chromeos::StartupUtils::RegisterPrefs(registry); | 304 chromeos::StartupUtils::RegisterPrefs(registry); |
| 304 chromeos::echo_offer::RegisterPrefs(registry); | 305 chromeos::echo_offer::RegisterPrefs(registry); |
| 305 policy::AutoEnrollmentClient::RegisterPrefs(registry); | 306 policy::AutoEnrollmentClient::RegisterPrefs(registry); |
| 306 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); | 307 policy::DeviceCloudPolicyManagerChromeOS::RegisterPrefs(registry); |
| 307 policy::DeviceStatusCollector::RegisterPrefs(registry); | 308 policy::DeviceStatusCollector::RegisterPrefs(registry); |
| 309 policy::PolicyCertServiceFactory::RegisterPrefs(registry); |
| 308 #endif | 310 #endif |
| 309 | 311 |
| 310 #if defined(OS_MACOSX) | 312 #if defined(OS_MACOSX) |
| 311 confirm_quit::RegisterLocalState(registry); | 313 confirm_quit::RegisterLocalState(registry); |
| 312 #endif | 314 #endif |
| 313 | 315 |
| 314 #if defined(OS_WIN) | 316 #if defined(OS_WIN) |
| 315 app_metro_launch::RegisterPrefs(registry); | 317 app_metro_launch::RegisterPrefs(registry); |
| 316 PasswordManager::RegisterLocalPrefs(registry); | 318 PasswordManager::RegisterLocalPrefs(registry); |
| 317 #endif | 319 #endif |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 562 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 561 current_version); | 563 current_version); |
| 562 } | 564 } |
| 563 | 565 |
| 564 #if defined(OS_CHROMEOS) | 566 #if defined(OS_CHROMEOS) |
| 565 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 567 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
| 566 #endif | 568 #endif |
| 567 } | 569 } |
| 568 | 570 |
| 569 } // namespace chrome | 571 } // namespace chrome |
| OLD | NEW |