| Index: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| diff --git a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| index 13bcfe07774fee5ae1a8b3e4cc4011896f87ec07..4b6ba5b4c07db179d698f5234bfb679a8809bc2a 100644
|
| --- a/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| +++ b/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/plugins/plugin_utils.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/profiles/profile_shortcut_manager.h"
|
| #include "chrome/browser/ui/webui/policy_indicator_localized_strings_provider.h"
|
| #include "chrome/common/chrome_features.h"
|
| #include "chrome/common/chrome_switches.h"
|
| @@ -1072,6 +1073,7 @@ void AddPeopleStrings(content::WebUIDataSource* html_source) {
|
| #else // !defined(OS_CHROMEOS)
|
| {"domainManagedProfile", IDS_SETTINGS_PEOPLE_DOMAIN_MANAGED_PROFILE},
|
| {"editPerson", IDS_SETTINGS_EDIT_PERSON},
|
| + {"showShortcutLabel", IDS_SETTINGS_PROFILE_SHORTCUT_TOGGLE_LABEL},
|
| #endif // defined(OS_CHROMEOS)
|
| {"syncOverview", IDS_SETTINGS_SYNC_OVERVIEW},
|
| {"syncSignin", IDS_SETTINGS_SYNC_SIGNIN},
|
| @@ -1174,6 +1176,9 @@ void AddPeopleStrings(content::WebUIDataSource* html_source) {
|
|
|
| html_source->AddString("activityControlsUrl",
|
| chrome::kGoogleAccountActivityControlsURL);
|
| +
|
| + html_source->AddBoolean("profileShortcutsEnabled",
|
| + ProfileShortcutManager::IsFeatureEnabled());
|
| }
|
|
|
| void AddPrintingStrings(content::WebUIDataSource* html_source) {
|
|
|