| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/about_flags.h" | 7 #include "chrome/browser/about_flags.h" |
| 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" | 8 #include "chrome/browser/accessibility/invert_bubble_prefs.h" |
| 9 #include "chrome/browser/autofill/autofill_manager.h" | 9 #include "chrome/browser/autofill/autofill_manager.h" |
| 10 #include "chrome/browser/background/background_mode_manager.h" | 10 #include "chrome/browser/background/background_mode_manager.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 #endif | 90 #endif |
| 91 | 91 |
| 92 #if defined(OS_CHROMEOS) | 92 #if defined(OS_CHROMEOS) |
| 93 #include "chrome/browser/chromeos/audio/audio_handler.h" | 93 #include "chrome/browser/chromeos/audio/audio_handler.h" |
| 94 #include "chrome/browser/chromeos/customization_document.h" | 94 #include "chrome/browser/chromeos/customization_document.h" |
| 95 #include "chrome/browser/chromeos/login/user_manager.h" | 95 #include "chrome/browser/chromeos/login/user_manager.h" |
| 96 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 96 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
| 97 #include "chrome/browser/chromeos/login/wizard_controller.h" | 97 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 98 #include "chrome/browser/chromeos/preferences.h" | 98 #include "chrome/browser/chromeos/preferences.h" |
| 99 #include "chrome/browser/chromeos/proxy_config_service_impl.h" | 99 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 100 #include "chrome/browser/chromeos/settings/signed_settings_cache.h" | 100 #include "chrome/browser/chromeos/settings/device_settings_cache.h" |
| 101 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 101 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
| 102 #include "chrome/browser/policy/auto_enrollment_client.h" | 102 #include "chrome/browser/policy/auto_enrollment_client.h" |
| 103 #include "chrome/browser/policy/device_status_collector.h" | 103 #include "chrome/browser/policy/device_status_collector.h" |
| 104 #else | 104 #else |
| 105 #include "chrome/browser/extensions/default_apps.h" | 105 #include "chrome/browser/extensions/default_apps.h" |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 #if defined(USE_ASH) | 108 #if defined(USE_ASH) |
| 109 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 109 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
| 110 #endif | 110 #endif |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 UpgradeDetector::RegisterPrefs(local_state); | 173 UpgradeDetector::RegisterPrefs(local_state); |
| 174 #endif | 174 #endif |
| 175 | 175 |
| 176 #if defined(OS_CHROMEOS) | 176 #if defined(OS_CHROMEOS) |
| 177 chromeos::AudioHandler::RegisterPrefs(local_state); | 177 chromeos::AudioHandler::RegisterPrefs(local_state); |
| 178 chromeos::language_prefs::RegisterPrefs(local_state); | 178 chromeos::language_prefs::RegisterPrefs(local_state); |
| 179 chromeos::DataPromoNotification::RegisterPrefs(local_state); | 179 chromeos::DataPromoNotification::RegisterPrefs(local_state); |
| 180 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); | 180 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); |
| 181 chromeos::UserManager::RegisterPrefs(local_state); | 181 chromeos::UserManager::RegisterPrefs(local_state); |
| 182 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); | 182 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); |
| 183 chromeos::signed_settings_cache::RegisterPrefs(local_state); | 183 chromeos::device_settings_cache::RegisterPrefs(local_state); |
| 184 chromeos::WallpaperManager::RegisterPrefs(local_state); | 184 chromeos::WallpaperManager::RegisterPrefs(local_state); |
| 185 chromeos::WizardController::RegisterPrefs(local_state); | 185 chromeos::WizardController::RegisterPrefs(local_state); |
| 186 policy::AutoEnrollmentClient::RegisterPrefs(local_state); | 186 policy::AutoEnrollmentClient::RegisterPrefs(local_state); |
| 187 policy::DeviceStatusCollector::RegisterPrefs(local_state); | 187 policy::DeviceStatusCollector::RegisterPrefs(local_state); |
| 188 #endif | 188 #endif |
| 189 | 189 |
| 190 #if defined(OS_MACOSX) | 190 #if defined(OS_MACOSX) |
| 191 RegisterObsoleteOSInfobarPrefs(local_state); | 191 RegisterObsoleteOSInfobarPrefs(local_state); |
| 192 confirm_quit::RegisterLocalState(local_state); | 192 confirm_quit::RegisterLocalState(local_state); |
| 193 #endif | 193 #endif |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 332 } |
| 333 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 333 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 334 | 334 |
| 335 current_version |= GOOGLE_URL_TRACKER_PREFS; | 335 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 336 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 336 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 337 current_version); | 337 current_version); |
| 338 } | 338 } |
| 339 } | 339 } |
| 340 | 340 |
| 341 } // namespace chrome | 341 } // namespace chrome |
| OLD | NEW |