blob: 2b167a413715253c030617523ab6b0b567318647 [file] [log] [blame]
Avi Drissman3a215d1e2022-09-07 19:43:091// Copyright 2019 The Chromium Authors
Xiyuan Xia5a8c4172019-05-13 16:23:482// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ash/public/cpp/ash_prefs.h"
6
Longbo Weidcc38372023-08-23 16:59:187#include "ash/accelerators/accelerator_prefs.h"
Jimmy59b749d2023-05-04 17:21:138#include "ash/accelerators/ash_accelerator_configuration.h"
Katie Dektar582ae102023-12-13 03:15:549#include "ash/accessibility/accessibility_controller.h"
Josiah K466b0dc32021-06-16 23:39:0510#include "ash/accessibility/magnifier/docked_magnifier_controller.h"
wutao3a150d71b2020-02-19 22:11:2611#include "ash/ambient/ambient_controller.h"
Emmanuel Arias Soto4de5f2b72023-04-26 15:58:2412#include "ash/ambient/managed/screensaver_images_policy_handler.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4813#include "ash/app_list/app_list_controller_impl.h"
Wen-Chien Wang9adb6242023-08-14 20:31:0414#include "ash/app_list/views/app_list_nudge_controller.h"
15#include "ash/app_list/views/search_notifier_controller.h"
David Blackec4cbcd2020-04-15 20:35:2516#include "ash/assistant/assistant_controller_impl.h"
Ramya Gopalan96b2aa22022-08-23 17:30:0017#include "ash/calendar/calendar_controller.h"
Ahmed Fakhry766bac62021-09-24 02:36:1918#include "ash/capture_mode/capture_mode_controller.h"
Elijah Hewer641b22432023-11-18 02:59:3619#include "ash/capture_mode/capture_mode_education_controller.h"
David Blackfcfe44652023-08-04 22:57:2220#include "ash/clipboard/clipboard_history_controller_impl.h"
Gordon Setoc7b5631e2021-11-12 22:48:2821#include "ash/constants/ash_features.h"
Henrique Ferreiro37770262021-02-06 01:20:5322#include "ash/constants/ash_pref_names.h"
Jason Thaiaa31bb12022-06-07 21:50:2623#include "ash/controls/contextual_tooltip.h"
Xiyuan Xia14619a22019-05-14 20:20:4424#include "ash/detachable_base/detachable_base_handler.h"
25#include "ash/display/display_prefs.h"
Gil Dekel69777032020-02-07 18:41:5326#include "ash/display/privacy_screen_controller.h"
Gina Domergue4dfbac252024-02-12 19:03:3427#include "ash/game_dashboard/game_dashboard_controller.h"
Matthew Mourgos97040062023-09-27 22:33:4428#include "ash/glanceables/glanceables_controller.h"
Chloe Pelling186ed3e2020-04-27 01:08:3429#include "ash/keyboard/keyboard_controller_impl.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4830#include "ash/login/login_screen_controller.h"
Aya ElAttard2b3c8a2020-06-22 23:02:1331#include "ash/login/ui/login_expanded_public_account_view.h"
Mia Bergeron12fd2f182019-06-11 23:04:4632#include "ash/media/media_controller_impl.h"
Andrew Xucfed58c2022-04-13 22:25:5133#include "ash/metrics/feature_discovery_duration_reporter_impl.h"
Courtney Wongfa3b71902022-05-12 22:21:3434#include "ash/projector/projector_controller_impl.h"
Ahmed Mehfooze6167f52020-10-22 20:01:3335#include "ash/public/cpp/holding_space/holding_space_prefs.h"
Daniel Classone31b84fd22021-10-05 02:41:5736#include "ash/quick_pair/keyed_service/quick_pair_mediator.h"
Xiaodan Zhud5b81872020-11-12 18:15:2937#include "ash/session/fullscreen_controller.h"
David Black57245f32023-03-07 19:36:0838#include "ash/session/session_controller_impl.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4839#include "ash/shelf/shelf_controller.h"
Erica Lee50bbcae2023-01-14 01:26:5640#include "ash/style/color_palette_controller.h"
minchc568dd72022-06-24 17:41:4341#include "ash/style/dark_light_mode_controller_impl.h"
Pi-Hsun Shih2ddabea2022-07-21 07:45:4442#include "ash/system/camera/autozoom_controller_impl.h"
Pi-Hsun Shihfaac34f2022-08-03 10:39:1243#include "ash/system/camera/autozoom_nudge_controller.h"
Wei Lee19ecfd932023-05-23 01:57:3944#include "ash/system/camera/camera_app_prefs.h"
Guoxing Zhao191ec872022-11-28 02:06:3445#include "ash/system/camera/camera_effects_controller.h"
Richard Chui6556e8e2023-08-29 02:09:3546#include "ash/system/focus_mode/focus_mode_controller.h"
Eric Sumf97e7b892023-04-17 22:41:4447#include "ash/system/geolocation/geolocation_controller.h"
Jason Zhangd42ca4862023-05-04 01:57:4948#include "ash/system/hotspot/hotspot_info_cache.h"
Michael Martis0a412c6c2022-05-10 03:40:0749#include "ash/system/human_presence/snooping_protection_controller.h"
Michael Checo76cfece2023-02-08 00:53:2450#include "ash/system/input_device_settings/input_device_settings_controller_impl.h"
Michael Checo606fde02023-07-12 23:39:5251#include "ash/system/input_device_settings/input_device_settings_notification_controller.h"
David Padlipsky767122082023-01-20 00:15:5752#include "ash/system/input_device_settings/input_device_tracker.h"
David Padlipsky37b51932023-01-26 01:44:5953#include "ash/system/input_device_settings/keyboard_modifier_metrics_recorder.h"
Jason Thaie3670852022-05-10 21:19:1854#include "ash/system/keyboard_brightness/keyboard_backlight_color_controller.h"
Jazz Xubfefcba2020-09-25 01:59:1355#include "ash/system/media/media_tray.h"
Gordon Seto5623514d2021-01-27 23:52:2856#include "ash/system/network/cellular_setup_notifier.h"
James Cook9d79e9812023-05-05 02:35:2957#include "ash/system/network/vpn_detailed_view.h"
Steven Bennetts32f5d552019-07-09 16:16:1358#include "ash/system/night_light/night_light_controller_impl.h"
Sophie Wen815801c2024-01-27 00:48:5259#include "ash/system/notification_center/message_center_controller.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4860#include "ash/system/palette/palette_tray.h"
61#include "ash/system/palette/palette_welcome_bubble.h"
Jimmy Gongc6f4fd02021-02-25 01:55:0062#include "ash/system/pcie_peripheral/pcie_peripheral_notification_controller.h"
Pu Shi7120e6102023-07-18 00:00:1863#include "ash/system/phonehub/onboarding_nudge_controller.h"
Charles William Dicke90760e32023-06-08 02:34:0764#include "ash/system/power/battery_saver_controller.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4865#include "ash/system/power/power_prefs.h"
Hongyu Long17ad4322023-06-01 19:10:5666#include "ash/system/power/power_sounds_controller.h"
Md Shahadat Hossain Shahin36bc3612022-08-09 11:01:2567#include "ash/system/privacy_hub/privacy_hub_controller.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4868#include "ash/system/session/logout_button_tray.h"
Maria Petrisor878ea9f12021-04-14 17:55:0969#include "ash/system/session/logout_confirmation_controller.h"
Jiaming Cheng5bb71282022-10-06 00:08:4570#include "ash/system/unified/quick_settings_footer.h"
Kevin Radtkea8bd8254ca2021-11-16 00:37:4871#include "ash/system/unified/unified_system_tray_controller.h"
Jameson Thies647d2d32022-02-24 23:58:2172#include "ash/system/usb_peripheral/usb_peripheral_notification_controller.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4873#include "ash/touch/touch_devices_controller.h"
Angus L. M. McLean IVda2a71d52023-08-07 21:27:2674#include "ash/user_education/user_education_controller.h"
Jason Thaib369a45252023-08-14 20:21:0975#include "ash/wallpaper/wallpaper_daily_refresh_scheduler.h"
Sean Kaud881d182022-05-24 19:26:0976#include "ash/wallpaper/wallpaper_pref_manager.h"
Eric Sum08661732023-11-06 23:05:3177#include "ash/wallpaper/wallpaper_time_of_day_scheduler.h"
Ahmed Fakhry1d18fafe52020-02-24 22:40:3678#include "ash/wm/desks/desks_restore_util.h"
Daniel Andersson3203dbc2022-05-05 23:47:2479#include "ash/wm/desks/templates/saved_desk_util.h"
Elijah Hewer4959cc82023-03-30 22:38:3480#include "ash/wm/float/tablet_mode_tuck_education.h"
Sherri Linb6b765a12022-03-03 11:37:3481#include "ash/wm/lock_state_controller.h"
Cattalyya Nuengsigkapianf24c05b2021-01-15 02:51:1882#include "ash/wm/window_cycle/window_cycle_controller.h"
Sophie Wen815801c2024-01-27 00:48:5283#include "ash/wm/window_util.h"
Yeunjoo Choi2d3704c12022-06-21 02:44:3484#include "chromeos/ash/services/assistant/public/cpp/assistant_prefs.h"
Yue Lif0da5bf2021-11-19 22:01:5785#include "chromeos/components/quick_answers/public/cpp/quick_answers_prefs.h"
Sammie Quon2bb7e392023-02-13 22:23:4286#include "chromeos/ui/frame/multitask_menu/multitask_menu_nudge_controller.h"
anina koehlerf1e29df62022-08-10 07:22:3287#include "chromeos/ui/wm/fullscreen/pref_names.h"
Yue Li0e81c0c2021-09-29 03:22:1888#include "components/language/core/browser/pref_names.h"
Amanda Deacon48669b4d2021-04-27 00:00:2389#include "components/live_caption/pref_names.h"
Abigail Kleine4c6b5c2022-03-30 21:06:4590#include "components/soda/constants.h"
David Padlipskye33d71e2023-05-04 21:01:5591#include "components/user_manager/known_user.h"
Xiyuan Xia5a8c4172019-05-13 16:23:4892
93namespace ash {
94
95namespace {
96
97// Registers prefs whose default values are same in user and signin prefs.
John Palmer1e70a002023-08-15 02:20:3498void RegisterProfilePrefs(PrefRegistrySimple* registry,
99 std::string_view country,
100 bool for_test) {
Longbo Weidcc38372023-08-23 16:59:18101 AcceleratorPrefs::RegisterProfilePrefs(registry);
Katie Dektaraf7f3ca2023-12-12 19:41:15102 AccessibilityController::RegisterProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48103 AppListControllerImpl::RegisterProfilePrefs(registry);
Wen-Chien Wang9adb6242023-08-14 20:31:04104 AppListNudgeController::RegisterProfilePrefs(registry);
Jimmy59b749d2023-05-04 17:21:13105 AshAcceleratorConfiguration::RegisterProfilePrefs(registry);
David Blackec4cbcd2020-04-15 20:35:25106 AssistantControllerImpl::RegisterProfilePrefs(registry);
Pi-Hsun Shih2ddabea2022-07-21 07:45:44107 AutozoomControllerImpl::RegisterProfilePrefs(registry);
Pi-Hsun Shihfaac34f2022-08-03 10:39:12108 AutozoomNudgeController::RegisterProfilePrefs(registry);
wutao3a150d71b2020-02-19 22:11:26109 AmbientController::RegisterProfilePrefs(registry);
Ramya Gopalan96b2aa22022-08-23 17:30:00110 CalendarController::RegisterProfilePrefs(registry);
Wei Lee19ecfd932023-05-23 01:57:39111 camera_app_prefs::RegisterProfilePrefs(registry);
Guoxing Zhao191ec872022-11-28 02:06:34112 CameraEffectsController::RegisterProfilePrefs(registry);
Ahmed Fakhry766bac62021-09-24 02:36:19113 CaptureModeController::RegisterProfilePrefs(registry);
Elijah Hewer641b22432023-11-18 02:59:36114 CaptureModeEducationController::RegisterProfilePrefs(registry);
Gordon Seto5623514d2021-01-27 23:52:28115 CellularSetupNotifier::RegisterProfilePrefs(registry);
Elijah Hewer4959cc82023-03-30 22:38:34116 chromeos::MultitaskMenuNudgeController::RegisterProfilePrefs(registry);
Yulun Wu1e355132020-02-11 20:12:22117 contextual_tooltip::RegisterProfilePrefs(registry);
David Blackfcfe44652023-08-04 22:57:22118 ClipboardHistoryControllerImpl::RegisterProfilePrefs(registry);
Erica Lee50bbcae2023-01-14 01:26:56119 ColorPaletteController::RegisterPrefs(registry);
minchc568dd72022-06-24 17:41:43120 DarkLightModeControllerImpl::RegisterProfilePrefs(registry);
Ahmed Fakhry1d18fafe52020-02-24 22:40:36121 desks_restore_util::RegisterProfilePrefs(registry);
Daniel Andersson3203dbc2022-05-05 23:47:24122 saved_desk_util::RegisterProfilePrefs(registry);
Sophie Wen815801c2024-01-27 00:48:52123 window_util::RegisterProfilePrefs(registry);
Josiah K466b0dc32021-06-16 23:39:05124 DockedMagnifierController::RegisterProfilePrefs(registry);
Andrew Xucfed58c2022-04-13 22:25:51125 FeatureDiscoveryDurationReporterImpl::RegisterProfilePrefs(registry);
Richard Chui6556e8e2023-08-29 02:09:35126 FocusModeController::RegisterProfilePrefs(registry);
Xiaodan Zhud5b81872020-11-12 18:15:29127 FullscreenController::RegisterProfilePrefs(registry);
Gina Domergue4dfbac252024-02-12 19:03:34128 GameDashboardController::RegisterProfilePrefs(registry);
Eric Sumf97e7b892023-04-17 22:41:44129 GeolocationController::RegisterProfilePrefs(registry);
Matthew Mourgos97040062023-09-27 22:33:44130 GlanceablesController::RegisterUserProfilePrefs(registry);
Ahmed Mehfooze6167f52020-10-22 20:01:33131 holding_space_prefs::RegisterProfilePrefs(registry);
Jason Zhangd42ca4862023-05-04 01:57:49132 HotspotInfoCache::RegisterProfilePrefs(registry);
Michael Checo76cfece2023-02-08 00:53:24133 InputDeviceSettingsControllerImpl::RegisterProfilePrefs(registry);
Michael Checo606fde02023-07-12 23:39:52134 InputDeviceSettingsNotificationController::RegisterProfilePrefs(registry);
David Padlipsky767122082023-01-20 00:15:57135 InputDeviceTracker::RegisterProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48136 LoginScreenController::RegisterProfilePrefs(registry, for_test);
137 LogoutButtonTray::RegisterProfilePrefs(registry);
Maria Petrisor878ea9f12021-04-14 17:55:09138 LogoutConfirmationController::RegisterProfilePrefs(registry);
lbowen1e6ed0b2022-10-26 21:49:44139 KeyboardBacklightColorController::RegisterPrefs(registry);
John Palmer1e70a002023-08-15 02:20:34140 KeyboardControllerImpl::RegisterProfilePrefs(registry, country);
David Padlipsky37b51932023-01-26 01:44:59141 KeyboardModifierMetricsRecorder::RegisterProfilePrefs(registry, for_test);
Mia Bergeron12fd2f182019-06-11 23:04:46142 MediaControllerImpl::RegisterProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48143 MessageCenterController::RegisterProfilePrefs(registry);
Steven Bennetts32f5d552019-07-09 16:16:13144 NightLightControllerImpl::RegisterProfilePrefs(registry);
Pu Shi7120e6102023-07-18 00:00:18145 OnboardingNudgeController::RegisterProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48146 PaletteTray::RegisterProfilePrefs(registry);
147 PaletteWelcomeBubble::RegisterProfilePrefs(registry);
Jimmy Gongc6f4fd02021-02-25 01:55:00148 PciePeripheralNotificationController::RegisterProfilePrefs(registry);
Md Shahadat Hossain Shahin36bc3612022-08-09 11:01:25149 PrivacyHubController::RegisterProfilePrefs(registry);
Gil Dekel69777032020-02-07 18:41:53150 PrivacyScreenController::RegisterProfilePrefs(registry);
Courtney Wongfa3b71902022-05-12 22:21:34151 ProjectorControllerImpl::RegisterProfilePrefs(registry);
Daniel Classone31b84fd22021-10-05 02:41:57152 quick_pair::Mediator::RegisterProfilePrefs(registry);
Emmanuel Arias Soto4de5f2b72023-04-26 15:58:24153 ScreensaverImagesPolicyHandler::RegisterPrefs(registry);
Wen-Chien Wang9adb6242023-08-14 20:31:04154 SearchNotifierController::RegisterProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48155 ShelfController::RegisterProfilePrefs(registry);
Michael Martis398ffa82022-05-09 01:11:47156 SnoopingProtectionController::RegisterProfilePrefs(registry);
Elijah Hewer4959cc82023-03-30 22:38:34157 TabletModeTuckEducation::RegisterProfilePrefs(registry);
Ana Salazareb7c25712020-02-03 20:27:26158 TouchDevicesController::RegisterProfilePrefs(registry, for_test);
Angus L. M. McLean IVda2a71d52023-08-07 21:27:26159 UserEducationController::RegisterProfilePrefs(registry);
Jazz Xubfefcba2020-09-25 01:59:13160 MediaTray::RegisterProfilePrefs(registry);
Jameson Thies647d2d32022-02-24 23:58:21161 UsbPeripheralNotificationController::RegisterProfilePrefs(registry);
James Cook520a8ac2023-05-05 01:20:06162 VpnDetailedView::RegisterProfilePrefs(registry);
Jason Thaib369a45252023-08-14 20:21:09163 WallpaperDailyRefreshScheduler::RegisterProfilePrefs(registry);
Eric Sum08661732023-11-06 23:05:31164 WallpaperTimeOfDayScheduler::RegisterProfilePrefs(registry);
Sean Kaud881d182022-05-24 19:26:09165 WallpaperPrefManager::RegisterProfilePrefs(registry);
Cattalyya Nuengsigkapianf24c05b2021-01-15 02:51:18166 WindowCycleController::RegisterProfilePrefs(registry);
James Cook4f3640d2019-11-19 00:40:35167
Ana Salazareb7c25712020-02-03 20:27:26168 // Provide prefs registered in the browser for ash_unittests.
169 if (for_test) {
Yeunjoo Choi65c73cc2022-08-02 05:30:16170 assistant::prefs::RegisterProfilePrefs(registry);
Yeunjoo Choiecf2ba42021-09-01 01:25:01171 quick_answers::prefs::RegisterProfilePrefs(registry);
Roman Sorokin8fab4972021-11-17 17:10:36172 registry->RegisterBooleanPref(prefs::kMouseReverseScroll, false);
Chloe Pelling4a5ed4462022-02-15 02:20:07173 registry->RegisterBooleanPref(prefs::kSendFunctionKeys, false);
Yeunjoo Choi0c8273a2022-11-29 04:22:50174 registry->RegisterBooleanPref(prefs::kSuggestedContentEnabled, true);
Roman Sorokin8fab4972021-11-17 17:10:36175 registry->RegisterBooleanPref(::prefs::kLiveCaptionEnabled, false);
anina koehlerf1e29df62022-08-10 07:22:32176 registry->RegisterListPref(
177 chromeos::prefs::kKeepFullscreenWithoutNotificationUrlAllowList);
Abigail Kleine4c6b5c2022-03-30 21:06:45178 registry->RegisterStringPref(::prefs::kLiveCaptionLanguageCode,
179 speech::kUsEnglishLocale);
Yue Li0e81c0c2021-09-29 03:22:18180 registry->RegisterStringPref(language::prefs::kApplicationLocale,
181 std::string());
Yue Li5125160b2022-04-04 22:40:39182 registry->RegisterStringPref(language::prefs::kPreferredLanguages,
183 std::string());
Michael Checo1f8625942023-05-23 19:33:47184 registry->RegisterIntegerPref(prefs::kAltEventRemappedToRightClick, 0);
185 registry->RegisterIntegerPref(prefs::kSearchEventRemappedToRightClick, 0);
Michael Checo08033c42023-05-08 22:16:11186 registry->RegisterIntegerPref(prefs::kKeyEventRemappedToSixPackDelete, 0);
187 registry->RegisterIntegerPref(prefs::kKeyEventRemappedToSixPackEnd, 0);
188 registry->RegisterIntegerPref(prefs::kKeyEventRemappedToSixPackHome, 0);
189 registry->RegisterIntegerPref(prefs::kKeyEventRemappedToSixPackPageUp, 0);
190 registry->RegisterIntegerPref(prefs::kKeyEventRemappedToSixPackPageDown, 0);
Ana Salazareb7c25712020-02-03 20:27:26191 }
Xiyuan Xia5a8c4172019-05-13 16:23:48192}
193
194} // namespace
195
Xiyuan Xia14619a22019-05-14 20:20:44196void RegisterLocalStatePrefs(PrefRegistrySimple* registry, bool for_test) {
197 PaletteTray::RegisterLocalStatePrefs(registry);
Sean Kaud881d182022-05-24 19:26:09198 WallpaperPrefManager::RegisterLocalStatePrefs(registry);
Erica Lee51e62212023-06-14 22:29:00199 ColorPaletteController::RegisterLocalStatePrefs(registry);
Xiyuan Xia14619a22019-05-14 20:20:44200 DetachableBaseHandler::RegisterPrefs(registry);
201 PowerPrefs::RegisterLocalStatePrefs(registry);
zauri7f404de2023-04-04 18:02:05202 PrivacyHubController::RegisterLocalStatePrefs(registry);
Xiyuan Xia14619a22019-05-14 20:20:44203 DisplayPrefs::RegisterLocalStatePrefs(registry);
Aya ElAttard2b3c8a2020-06-22 23:02:13204 LoginExpandedPublicAccountView::RegisterLocalStatePrefs(registry);
Sherri Linb6b765a12022-03-03 11:37:34205 LockStateController::RegisterPrefs(registry);
Daniel Classon2ded753e2021-12-01 18:42:50206 quick_pair::Mediator::RegisterLocalStatePrefs(registry);
Jiaming Cheng2480e2062023-11-07 21:05:44207 QuickSettingsFooter::RegisterLocalStatePrefs(registry);
lbowen1e6ed0b2022-10-26 21:49:44208 KeyboardBacklightColorController::RegisterPrefs(registry);
Charles William Dicke90760e32023-06-08 02:34:07209 BatterySaverController::RegisterLocalStatePrefs(registry);
Hongyu Long981b7ff2023-07-17 17:32:54210 PowerSoundsController::RegisterLocalStatePrefs(registry);
David Padlipsky9bdcaa42023-05-03 20:59:51211
212 if (for_test) {
213 registry->RegisterBooleanPref(prefs::kOwnerPrimaryMouseButtonRight, false);
David Padlipskye33d71e2023-05-04 21:01:55214 user_manager::KnownUser::RegisterPrefs(registry);
David Padlipsky9bdcaa42023-05-03 20:59:51215 }
Xiyuan Xia14619a22019-05-14 20:20:44216}
217
John Palmer1e70a002023-08-15 02:20:34218void RegisterSigninProfilePrefs(PrefRegistrySimple* registry,
219 std::string_view country,
220 bool for_test) {
221 RegisterProfilePrefs(registry, country, for_test);
James Cookef1411e12019-10-18 23:49:22222 PowerPrefs::RegisterSigninProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48223}
224
John Palmer1e70a002023-08-15 02:20:34225void RegisterUserProfilePrefs(PrefRegistrySimple* registry,
226 std::string_view country,
227 bool for_test) {
228 RegisterProfilePrefs(registry, country, for_test);
James Cookef1411e12019-10-18 23:49:22229 PowerPrefs::RegisterUserProfilePrefs(registry);
David Black57245f32023-03-07 19:36:08230 SessionControllerImpl::RegisterUserProfilePrefs(registry);
Xiyuan Xia5a8c4172019-05-13 16:23:48231}
232
233} // namespace ash