| Index: chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
|
| diff --git a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
|
| index 1da6ea6558c823f07813a2812baff1001a3edae4..163557664f86df39a8701e8abc9bc73d7c715dbb 100644
|
| --- a/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
|
| +++ b/chrome/browser/ui/webui/signin/signin_create_profile_handler.cc
|
| @@ -73,6 +73,10 @@ SigninCreateProfileHandler::~SigninCreateProfileHandler() {
|
| void SigninCreateProfileHandler::GetLocalizedValues(
|
| base::DictionaryValue* localized_strings) {
|
| localized_strings->SetString(
|
| + "createDesktopShortcutLabel",
|
| + l10n_util::GetStringUTF16(
|
| + IDS_PROFILES_CREATE_DESKTOP_SHORTCUT_LABEL));
|
| + localized_strings->SetString(
|
| "manageProfilesSupervisedSignedInLabel",
|
| l10n_util::GetStringUTF16(
|
| IDS_PROFILES_CREATE_SUPERVISED_MULTI_SIGNED_IN_LABEL));
|
| @@ -354,9 +358,10 @@ void SigninCreateProfileHandler::CreateShortcutAndShowSuccess(
|
| Profile* custodian_profile,
|
| Profile* profile) {
|
| if (create_shortcut) {
|
| + DCHECK(ProfileShortcutManager::IsFeatureEnabled());
|
| ProfileShortcutManager* shortcut_manager =
|
| g_browser_process->profile_manager()->profile_shortcut_manager();
|
| -
|
| + DCHECK(shortcut_manager);
|
| if (shortcut_manager)
|
| shortcut_manager->CreateProfileShortcut(profile->GetPath());
|
| }
|
|
|