| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 #endif | 88 #endif |
| 89 | 89 |
| 90 #if defined(OS_CHROMEOS) | 90 #if defined(OS_CHROMEOS) |
| 91 #include "chrome/browser/chromeos/audio/audio_handler.h" | 91 #include "chrome/browser/chromeos/audio/audio_handler.h" |
| 92 #include "chrome/browser/chromeos/customization_document.h" | 92 #include "chrome/browser/chromeos/customization_document.h" |
| 93 #include "chrome/browser/chromeos/login/user_manager.h" | 93 #include "chrome/browser/chromeos/login/user_manager.h" |
| 94 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 94 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
| 95 #include "chrome/browser/chromeos/login/wizard_controller.h" | 95 #include "chrome/browser/chromeos/login/wizard_controller.h" |
| 96 #include "chrome/browser/chromeos/preferences.h" | 96 #include "chrome/browser/chromeos/preferences.h" |
| 97 #include "chrome/browser/chromeos/proxy_config_service_impl.h" | 97 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 98 #include "chrome/browser/chromeos/settings/signed_settings_cache.h" | 98 #include "chrome/browser/chromeos/settings/device_settings_cache.h" |
| 99 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 99 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
| 100 #include "chrome/browser/policy/auto_enrollment_client.h" | 100 #include "chrome/browser/policy/auto_enrollment_client.h" |
| 101 #include "chrome/browser/policy/device_status_collector.h" | 101 #include "chrome/browser/policy/device_status_collector.h" |
| 102 #else | 102 #else |
| 103 #include "chrome/browser/extensions/default_apps.h" | 103 #include "chrome/browser/extensions/default_apps.h" |
| 104 #endif | 104 #endif |
| 105 | 105 |
| 106 #if defined(USE_ASH) | 106 #if defined(USE_ASH) |
| 107 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 107 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
| 108 #endif | 108 #endif |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 UpgradeDetector::RegisterPrefs(local_state); | 176 UpgradeDetector::RegisterPrefs(local_state); |
| 177 #endif | 177 #endif |
| 178 | 178 |
| 179 #if defined(OS_CHROMEOS) | 179 #if defined(OS_CHROMEOS) |
| 180 chromeos::AudioHandler::RegisterPrefs(local_state); | 180 chromeos::AudioHandler::RegisterPrefs(local_state); |
| 181 chromeos::language_prefs::RegisterPrefs(local_state); | 181 chromeos::language_prefs::RegisterPrefs(local_state); |
| 182 chromeos::DataPromoNotification::RegisterPrefs(local_state); | 182 chromeos::DataPromoNotification::RegisterPrefs(local_state); |
| 183 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); | 183 chromeos::ProxyConfigServiceImpl::RegisterPrefs(local_state); |
| 184 chromeos::UserManager::RegisterPrefs(local_state); | 184 chromeos::UserManager::RegisterPrefs(local_state); |
| 185 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); | 185 chromeos::ServicesCustomizationDocument::RegisterPrefs(local_state); |
| 186 chromeos::signed_settings_cache::RegisterPrefs(local_state); | 186 chromeos::device_settings_cache::RegisterPrefs(local_state); |
| 187 chromeos::WallpaperManager::RegisterPrefs(local_state); | 187 chromeos::WallpaperManager::RegisterPrefs(local_state); |
| 188 chromeos::WizardController::RegisterPrefs(local_state); | 188 chromeos::WizardController::RegisterPrefs(local_state); |
| 189 policy::AutoEnrollmentClient::RegisterPrefs(local_state); | 189 policy::AutoEnrollmentClient::RegisterPrefs(local_state); |
| 190 policy::DeviceStatusCollector::RegisterPrefs(local_state); | 190 policy::DeviceStatusCollector::RegisterPrefs(local_state); |
| 191 #endif | 191 #endif |
| 192 | 192 |
| 193 #if defined(OS_MACOSX) | 193 #if defined(OS_MACOSX) |
| 194 confirm_quit::RegisterLocalState(local_state); | 194 confirm_quit::RegisterLocalState(local_state); |
| 195 #endif | 195 #endif |
| 196 } | 196 } |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 } | 337 } |
| 338 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 338 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 339 | 339 |
| 340 current_version |= GOOGLE_URL_TRACKER_PREFS; | 340 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 341 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 341 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 342 current_version); | 342 current_version); |
| 343 } | 343 } |
| 344 } | 344 } |
| 345 | 345 |
| 346 } // namespace chrome | 346 } // namespace chrome |
| OLD | NEW |