| 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 <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 184 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
| 185 #include "chrome/browser/chromeos/arc/arc_session_manager.h" | 185 #include "chrome/browser/chromeos/arc/arc_session_manager.h" |
| 186 #include "chrome/browser/chromeos/arc/policy/arc_policy_bridge.h" | 186 #include "chrome/browser/chromeos/arc/policy/arc_policy_bridge.h" |
| 187 #include "chrome/browser/chromeos/customization/customization_document.h" | 187 #include "chrome/browser/chromeos/customization/customization_document.h" |
| 188 #include "chrome/browser/chromeos/display/display_preferences.h" | 188 #include "chrome/browser/chromeos/display/display_preferences.h" |
| 189 #include "chrome/browser/chromeos/extensions/echo_private_api.h" | 189 #include "chrome/browser/chromeos/extensions/echo_private_api.h" |
| 190 #include "chrome/browser/chromeos/file_system_provider/registry.h" | 190 #include "chrome/browser/chromeos/file_system_provider/registry.h" |
| 191 #include "chrome/browser/chromeos/first_run/first_run.h" | 191 #include "chrome/browser/chromeos/first_run/first_run.h" |
| 192 #include "chrome/browser/chromeos/login/demo_mode/demo_mode_detector.h" | 192 #include "chrome/browser/chromeos/login/demo_mode/demo_mode_detector.h" |
| 193 #include "chrome/browser/chromeos/login/quick_unlock/fingerprint_storage.h" | 193 #include "chrome/browser/chromeos/login/quick_unlock/fingerprint_storage.h" |
| 194 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage.h" | 194 #include "chrome/browser/chromeos/login/quick_unlock/pin_storage_prefs.h" |
| 195 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" | 195 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h" |
| 196 #include "chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h" | 196 #include "chrome/browser/chromeos/login/saml/saml_offline_signin_limiter.h" |
| 197 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 197 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 198 #include "chrome/browser/chromeos/login/startup_utils.h" | 198 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 199 #include "chrome/browser/chromeos/login/users/avatar/user_image_manager.h" | 199 #include "chrome/browser/chromeos/login/users/avatar/user_image_manager.h" |
| 200 #include "chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h" | 200 #include "chrome/browser/chromeos/login/users/avatar/user_image_sync_observer.h" |
| 201 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" | 201 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" |
| 202 #include "chrome/browser/chromeos/login/users/multi_profile_user_controller.h" | 202 #include "chrome/browser/chromeos/login/users/multi_profile_user_controller.h" |
| 203 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" | 203 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
| 204 #include "chrome/browser/chromeos/net/network_throttling_observer.h" | 204 #include "chrome/browser/chromeos/net/network_throttling_observer.h" |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 #endif | 602 #endif |
| 603 | 603 |
| 604 #if defined(OS_CHROMEOS) | 604 #if defined(OS_CHROMEOS) |
| 605 arc::ArcSessionManager::RegisterProfilePrefs(registry); | 605 arc::ArcSessionManager::RegisterProfilePrefs(registry); |
| 606 arc::ArcPolicyBridge::RegisterProfilePrefs(registry); | 606 arc::ArcPolicyBridge::RegisterProfilePrefs(registry); |
| 607 chromeos::first_run::RegisterProfilePrefs(registry); | 607 chromeos::first_run::RegisterProfilePrefs(registry); |
| 608 chromeos::file_system_provider::RegisterProfilePrefs(registry); | 608 chromeos::file_system_provider::RegisterProfilePrefs(registry); |
| 609 chromeos::KeyPermissions::RegisterProfilePrefs(registry); | 609 chromeos::KeyPermissions::RegisterProfilePrefs(registry); |
| 610 chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); | 610 chromeos::MultiProfileUserController::RegisterProfilePrefs(registry); |
| 611 chromeos::quick_unlock::FingerprintStorage::RegisterProfilePrefs(registry); | 611 chromeos::quick_unlock::FingerprintStorage::RegisterProfilePrefs(registry); |
| 612 chromeos::quick_unlock::PinStorage::RegisterProfilePrefs(registry); | 612 chromeos::quick_unlock::PinStoragePrefs::RegisterProfilePrefs(registry); |
| 613 chromeos::Preferences::RegisterProfilePrefs(registry); | 613 chromeos::Preferences::RegisterProfilePrefs(registry); |
| 614 chromeos::PrintersManager::RegisterProfilePrefs(registry); | 614 chromeos::PrintersManager::RegisterProfilePrefs(registry); |
| 615 chromeos::quick_unlock::RegisterProfilePrefs(registry); | 615 chromeos::quick_unlock::RegisterProfilePrefs(registry); |
| 616 chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); | 616 chromeos::SAMLOfflineSigninLimiter::RegisterProfilePrefs(registry); |
| 617 chromeos::ServicesCustomizationDocument::RegisterProfilePrefs(registry); | 617 chromeos::ServicesCustomizationDocument::RegisterProfilePrefs(registry); |
| 618 chromeos::system::InputDeviceSettings::RegisterProfilePrefs(registry); | 618 chromeos::system::InputDeviceSettings::RegisterProfilePrefs(registry); |
| 619 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); | 619 chromeos::UserImageSyncObserver::RegisterProfilePrefs(registry); |
| 620 extensions::EPKPChallengeUserKey::RegisterProfilePrefs(registry); | 620 extensions::EPKPChallengeUserKey::RegisterProfilePrefs(registry); |
| 621 flags_ui::PrefServiceFlagsStorage::RegisterProfilePrefs(registry); | 621 flags_ui::PrefServiceFlagsStorage::RegisterProfilePrefs(registry); |
| 622 policy::DeviceStatusCollector::RegisterProfilePrefs(registry); | 622 policy::DeviceStatusCollector::RegisterProfilePrefs(registry); |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 // default values for all prefs locally. Since we already have the defaults it | 806 // default values for all prefs locally. Since we already have the defaults it |
| 807 // would be wasteful to request them from the service by connecting to the | 807 // would be wasteful to request them from the service by connecting to the |
| 808 // DEFAULT_STORE. | 808 // DEFAULT_STORE. |
| 809 // TODO(sammc): Once we have this distinction, connect to the default pref | 809 // TODO(sammc): Once we have this distinction, connect to the default pref |
| 810 // store here (by erasing it from |pref_stores|). | 810 // store here (by erasing it from |pref_stores|). |
| 811 pref_stores.erase(PrefValueStore::USER_STORE); | 811 pref_stores.erase(PrefValueStore::USER_STORE); |
| 812 return pref_stores; | 812 return pref_stores; |
| 813 } | 813 } |
| 814 | 814 |
| 815 } // namespace chrome | 815 } // namespace chrome |
| OLD | NEW |