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