Chromium Code Reviews| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 #include "chrome/browser/ui/browser_view_prefs.h" | 118 #include "chrome/browser/ui/browser_view_prefs.h" |
| 119 #include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" | 119 #include "chrome/browser/ui/tabs/tab_strip_layout_type_prefs.h" |
| 120 #endif | 120 #endif |
| 121 | 121 |
| 122 #if defined(TOOLKIT_GTK) | 122 #if defined(TOOLKIT_GTK) |
| 123 #include "chrome/browser/ui/gtk/browser_window_gtk.h" | 123 #include "chrome/browser/ui/gtk/browser_window_gtk.h" |
| 124 #endif | 124 #endif |
| 125 | 125 |
| 126 #if defined(OS_CHROMEOS) | 126 #if defined(OS_CHROMEOS) |
| 127 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 127 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
| 128 #include "chrome/browser/chromeos/attestation/platform_verification_flow.h" | |
| 128 #include "chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h" | 129 #include "chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h" |
| 129 #include "chrome/browser/chromeos/customization_document.h" | 130 #include "chrome/browser/chromeos/customization_document.h" |
| 130 #include "chrome/browser/chromeos/display/display_preferences.h" | 131 #include "chrome/browser/chromeos/display/display_preferences.h" |
| 131 #include "chrome/browser/chromeos/login/default_pinned_apps_field_trial.h" | 132 #include "chrome/browser/chromeos/login/default_pinned_apps_field_trial.h" |
| 132 #include "chrome/browser/chromeos/login/login_utils.h" | 133 #include "chrome/browser/chromeos/login/login_utils.h" |
| 133 #include "chrome/browser/chromeos/login/startup_utils.h" | 134 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 134 #include "chrome/browser/chromeos/login/user_image_manager.h" | 135 #include "chrome/browser/chromeos/login/user_image_manager.h" |
| 135 #include "chrome/browser/chromeos/login/user_image_sync_observer.h" | 136 #include "chrome/browser/chromeos/login/user_image_sync_observer.h" |
| 136 #include "chrome/browser/chromeos/login/user_manager.h" | 137 #include "chrome/browser/chromeos/login/user_manager.h" |
| 137 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 138 #include "chrome/browser/chromeos/login/wallpaper_manager.h" |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 384 default_apps::RegisterProfilePrefs(registry); | 385 default_apps::RegisterProfilePrefs(registry); |
| 385 #endif | 386 #endif |
| 386 | 387 |
| 387 #if defined(OS_CHROMEOS) | 388 #if defined(OS_CHROMEOS) |
| 388 chromeos::Preferences::RegisterProfilePrefs(registry); | 389 chromeos::Preferences::RegisterProfilePrefs(registry); |
| 389 chromeos::proxy_config::RegisterProfilePrefs(registry); | 390 chromeos::proxy_config::RegisterProfilePrefs(registry); |
| 390 extensions::EnterprisePlatformKeysPrivateChallengeUserKeyFunction:: | 391 extensions::EnterprisePlatformKeysPrivateChallengeUserKeyFunction:: |
| 391 RegisterProfilePrefs(registry); | 392 RegisterProfilePrefs(registry); |
| 392 FlagsUI::RegisterProfilePrefs(registry); | 393 FlagsUI::RegisterProfilePrefs(registry); |
| 393 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); | 394 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); |
| 395 chromeos::attestation::PlatformVerificationFlow::RegisterProfilePrefs( | |
| 396 registry); | |
|
Mattias Nissler (ping if slow)
2013/09/03 14:31:25
nit: can you alphabetize this block?
Darren Krahn
2013/09/04 12:35:05
Done.
| |
| 394 #endif | 397 #endif |
| 395 | 398 |
| 396 #if defined(OS_WIN) | 399 #if defined(OS_WIN) |
| 397 NetworkProfileBubble::RegisterProfilePrefs(registry); | 400 NetworkProfileBubble::RegisterProfilePrefs(registry); |
| 398 #endif | 401 #endif |
| 399 | 402 |
| 400 #if defined(OS_MACOSX) | 403 #if defined(OS_MACOSX) |
| 401 RegisterBrowserActionsControllerProfilePrefs(registry); | 404 RegisterBrowserActionsControllerProfilePrefs(registry); |
| 402 #endif | 405 #endif |
| 403 | 406 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 523 } | 526 } |
| 524 local_state->ClearPref(prefs::kLastPromptedGoogleURL); | 527 local_state->ClearPref(prefs::kLastPromptedGoogleURL); |
| 525 | 528 |
| 526 current_version |= GOOGLE_URL_TRACKER_PREFS; | 529 current_version |= GOOGLE_URL_TRACKER_PREFS; |
| 527 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, | 530 local_state->SetInteger(prefs::kMultipleProfilePrefMigration, |
| 528 current_version); | 531 current_version); |
| 529 } | 532 } |
| 530 } | 533 } |
| 531 | 534 |
| 532 } // namespace chrome | 535 } // namespace chrome |
| OLD | NEW |