| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 #include "chrome/browser/ui/browser_view_prefs.h" | 110 #include "chrome/browser/ui/browser_view_prefs.h" |
| 111 #include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" | 111 #include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" |
| 112 #endif | 112 #endif |
| 113 | 113 |
| 114 #if defined(TOOLKIT_GTK) | 114 #if defined(TOOLKIT_GTK) |
| 115 #include "chrome/browser/ui/gtk/browser_window_gtk.h" | 115 #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
| 116 #endif | 116 #endif |
| 117 | 117 |
| 118 #if defined(OS_CHROMEOS) | 118 #if defined(OS_CHROMEOS) |
| 119 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 119 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
| 120 #include "chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h" |
| 120 #include "chrome/browser/chromeos/audio/audio_handler.h" | 121 #include "chrome/browser/chromeos/audio/audio_handler.h" |
| 121 #include "chrome/browser/chromeos/audio/audio_pref_handler_impl.h" | 122 #include "chrome/browser/chromeos/audio/audio_pref_handler_impl.h" |
| 122 #include "chrome/browser/chromeos/customization_document.h" | 123 #include "chrome/browser/chromeos/customization_document.h" |
| 123 #include "chrome/browser/chromeos/display/display_preferences.h" | 124 #include "chrome/browser/chromeos/display/display_preferences.h" |
| 124 #include "chrome/browser/chromeos/login/login_utils.h" | 125 #include "chrome/browser/chromeos/login/login_utils.h" |
| 125 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" | 126 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" |
| 126 #include "chrome/browser/chromeos/login/startup_utils.h" | 127 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 127 #include "chrome/browser/chromeos/login/user_image_manager.h" | 128 #include "chrome/browser/chromeos/login/user_image_manager.h" |
| 128 #include "chrome/browser/chromeos/login/user_manager.h" | 129 #include "chrome/browser/chromeos/login/user_manager.h" |
| 129 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 130 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 #endif | 236 #endif |
| 236 | 237 |
| 237 #if !defined(OS_ANDROID) | 238 #if !defined(OS_ANDROID) |
| 238 BackgroundModeManager::RegisterPrefs(registry); | 239 BackgroundModeManager::RegisterPrefs(registry); |
| 239 RegisterBrowserPrefs(registry); | 240 RegisterBrowserPrefs(registry); |
| 240 RegisterDefaultBrowserPromptPrefs(registry); | 241 RegisterDefaultBrowserPromptPrefs(registry); |
| 241 ManagedMode::RegisterPrefs(registry); | 242 ManagedMode::RegisterPrefs(registry); |
| 242 #endif | 243 #endif |
| 243 | 244 |
| 244 #if defined(OS_CHROMEOS) | 245 #if defined(OS_CHROMEOS) |
| 246 chromeos::AudioDevicesPrefHandlerImpl::RegisterPrefs(registry); |
| 245 chromeos::AudioPrefHandlerImpl::RegisterPrefs(registry); | 247 chromeos::AudioPrefHandlerImpl::RegisterPrefs(registry); |
| 246 chromeos::DataPromoNotification::RegisterPrefs(registry); | 248 chromeos::DataPromoNotification::RegisterPrefs(registry); |
| 247 chromeos::DeviceOAuth2TokenService::RegisterPrefs(registry); | 249 chromeos::DeviceOAuth2TokenService::RegisterPrefs(registry); |
| 248 chromeos::device_settings_cache::RegisterPrefs(registry); | 250 chromeos::device_settings_cache::RegisterPrefs(registry); |
| 249 chromeos::language_prefs::RegisterPrefs(registry); | 251 chromeos::language_prefs::RegisterPrefs(registry); |
| 250 chromeos::KioskAppManager::RegisterPrefs(registry); | 252 chromeos::KioskAppManager::RegisterPrefs(registry); |
| 251 chromeos::LoginUtils::RegisterPrefs(registry); | 253 chromeos::LoginUtils::RegisterPrefs(registry); |
| 252 chromeos::Preferences::RegisterPrefs(registry); | 254 chromeos::Preferences::RegisterPrefs(registry); |
| 253 chromeos::ProxyConfigServiceImpl::RegisterPrefs(registry); | 255 chromeos::ProxyConfigServiceImpl::RegisterPrefs(registry); |
| 254 chromeos::RegisterDisplayLocalStatePrefs(registry); | 256 chromeos::RegisterDisplayLocalStatePrefs(registry); |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 } | 452 } |
| 451 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 453 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 452 | 454 |
| 453 current_version |= GOOGLE_URL_TRACKER_PREFS; | 455 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 454 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 456 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 455 current_version); | 457 current_version); |
| 456 } | 458 } |
| 457 } | 459 } |
| 458 | 460 |
| 459 } // namespace chrome | 461 } // namespace chrome |
| OLD | NEW |