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/prefs/pref_registry_simple.h" | 8 #include "base/prefs/pref_registry_simple.h" |
9 #include "base/prefs/pref_service.h" | 9 #include "base/prefs/pref_service.h" |
10 #include "chrome/browser/about_flags.h" | 10 #include "chrome/browser/about_flags.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" | 122 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" |
123 #include "chrome/browser/chromeos/login/user_image_manager.h" | 123 #include "chrome/browser/chromeos/login/user_image_manager.h" |
124 #include "chrome/browser/chromeos/login/user_manager.h" | 124 #include "chrome/browser/chromeos/login/user_manager.h" |
125 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 125 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
126 #include "chrome/browser/chromeos/login/wizard_controller.h" | 126 #include "chrome/browser/chromeos/login/wizard_controller.h" |
127 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" | 127 #include "chrome/browser/chromeos/policy/auto_enrollment_client.h" |
128 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" | 128 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" |
129 #include "chrome/browser/chromeos/policy/device_status_collector.h" | 129 #include "chrome/browser/chromeos/policy/device_status_collector.h" |
130 #include "chrome/browser/chromeos/preferences.h" | 130 #include "chrome/browser/chromeos/preferences.h" |
131 #include "chrome/browser/chromeos/proxy_config_service_impl.h" | 131 #include "chrome/browser/chromeos/proxy_config_service_impl.h" |
| 132 #include "chrome/browser/chromeos/settings/device_oauth2_token_service.h" |
132 #include "chrome/browser/chromeos/settings/device_settings_cache.h" | 133 #include "chrome/browser/chromeos/settings/device_settings_cache.h" |
133 #include "chrome/browser/chromeos/status/data_promo_notification.h" | 134 #include "chrome/browser/chromeos/status/data_promo_notification.h" |
134 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" | 135 #include "chrome/browser/chromeos/system/automatic_reboot_manager.h" |
135 #else | 136 #else |
136 #include "chrome/browser/extensions/default_apps.h" | 137 #include "chrome/browser/extensions/default_apps.h" |
137 #endif | 138 #endif |
138 | 139 |
139 #if defined(USE_ASH) | 140 #if defined(USE_ASH) |
140 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" | 141 #include "chrome/browser/ui/ash/chrome_launcher_prefs.h" |
141 #endif | 142 #endif |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 BackgroundModeManager::RegisterPrefs(registry); | 233 BackgroundModeManager::RegisterPrefs(registry); |
233 chrome_variations::VariationsService::RegisterPrefs(registry); | 234 chrome_variations::VariationsService::RegisterPrefs(registry); |
234 RegisterBrowserPrefs(registry); | 235 RegisterBrowserPrefs(registry); |
235 RegisterDefaultBrowserPromptPrefs(registry); | 236 RegisterDefaultBrowserPromptPrefs(registry); |
236 ManagedMode::RegisterPrefs(registry); | 237 ManagedMode::RegisterPrefs(registry); |
237 #endif | 238 #endif |
238 | 239 |
239 #if defined(OS_CHROMEOS) | 240 #if defined(OS_CHROMEOS) |
240 chromeos::AudioHandler::RegisterPrefs(registry); | 241 chromeos::AudioHandler::RegisterPrefs(registry); |
241 chromeos::DataPromoNotification::RegisterPrefs(registry); | 242 chromeos::DataPromoNotification::RegisterPrefs(registry); |
| 243 chromeos::DeviceOAuth2TokenService::RegisterPrefs(registry); |
242 chromeos::device_settings_cache::RegisterPrefs(registry); | 244 chromeos::device_settings_cache::RegisterPrefs(registry); |
243 chromeos::language_prefs::RegisterPrefs(registry); | 245 chromeos::language_prefs::RegisterPrefs(registry); |
244 chromeos::KioskAppManager::RegisterPrefs(registry); | 246 chromeos::KioskAppManager::RegisterPrefs(registry); |
245 chromeos::LoginUtils::RegisterPrefs(registry); | 247 chromeos::LoginUtils::RegisterPrefs(registry); |
246 chromeos::Preferences::RegisterPrefs(registry); | 248 chromeos::Preferences::RegisterPrefs(registry); |
247 chromeos::ProxyConfigServiceImpl::RegisterPrefs(registry); | 249 chromeos::ProxyConfigServiceImpl::RegisterPrefs(registry); |
248 chromeos::RegisterDisplayLocalStatePrefs(registry); | 250 chromeos::RegisterDisplayLocalStatePrefs(registry); |
249 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); | 251 chromeos::ServicesCustomizationDocument::RegisterPrefs(registry); |
250 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); | 252 chromeos::system::AutomaticRebootManager::RegisterPrefs(registry); |
251 chromeos::UserImageManager::RegisterPrefs(registry); | 253 chromeos::UserImageManager::RegisterPrefs(registry); |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 } | 442 } |
441 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 443 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
442 | 444 |
443 current_version |= GOOGLE_URL_TRACKER_PREFS; | 445 current_version |= GOOGLE_URL_TRACKER_PREFS; |
444 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 446 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
445 current_version); | 447 current_version); |
446 } | 448 } |
447 } | 449 } |
448 | 450 |
449 } // namespace chrome | 451 } // namespace chrome |
OLD | NEW |