| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/ui/webui/signin/signin_create_profile_handler.h" | 5 #include "chrome/browser/ui/webui/signin/signin_create_profile_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 IDS_LEGACY_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON)); | 85 IDS_LEGACY_SUPERVISED_USER_LEARN_MORE_DONE_BUTTON)); |
| 86 localized_strings->SetString( | 86 localized_strings->SetString( |
| 87 "supervisedUserLearnMoreText", | 87 "supervisedUserLearnMoreText", |
| 88 l10n_util::GetStringFUTF16( | 88 l10n_util::GetStringFUTF16( |
| 89 IDS_SUPERVISED_USER_LEARN_MORE_TEXT, | 89 IDS_SUPERVISED_USER_LEARN_MORE_TEXT, |
| 90 base::ASCIIToUTF16( | 90 base::ASCIIToUTF16( |
| 91 chrome::kLegacySupervisedUserManagementURL), | 91 chrome::kLegacySupervisedUserManagementURL), |
| 92 base::ASCIIToUTF16( | 92 base::ASCIIToUTF16( |
| 93 chrome::kLegacySupervisedUserManagementDisplayURL))); | 93 chrome::kLegacySupervisedUserManagementDisplayURL))); |
| 94 localized_strings->SetString( | 94 localized_strings->SetString( |
| 95 "importExistingSupervisedUserLink", |
| 96 l10n_util::GetStringUTF16( |
| 97 IDS_IMPORT_EXISTING_LEGACY_SUPERVISED_USER_TITLE)); |
| 98 localized_strings->SetString( |
| 95 "manageProfilesExistingSupervisedUser", | 99 "manageProfilesExistingSupervisedUser", |
| 96 l10n_util::GetStringUTF16( | 100 l10n_util::GetStringUTF16( |
| 97 IDS_PROFILES_CREATE_LEGACY_SUPERVISED_USER_ERROR_EXISTS_REMOTELY)); | 101 IDS_PROFILES_CREATE_LEGACY_SUPERVISED_USER_ERROR_EXISTS_REMOTELY)); |
| 98 localized_strings->SetString( | 102 localized_strings->SetString( |
| 99 "managedProfilesExistingLocalSupervisedUser", | 103 "managedProfilesExistingLocalSupervisedUser", |
| 100 l10n_util::GetStringUTF16( | 104 l10n_util::GetStringUTF16( |
| 101 IDS_PROFILES_CREATE_LEGACY_SUPERVISED_USER_ERROR_EXISTS_LOCALLY)); | 105 IDS_PROFILES_CREATE_LEGACY_SUPERVISED_USER_ERROR_EXISTS_LOCALLY)); |
| 102 localized_strings->SetString( | 106 localized_strings->SetString( |
| 103 "custodianAccountNotSelectedError", | 107 "custodianAccountNotSelectedError", |
| 104 l10n_util::GetStringUTF16( | 108 l10n_util::GetStringUTF16( |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 Profile* profile = g_browser_process->profile_manager()-> | 738 Profile* profile = g_browser_process->profile_manager()-> |
| 735 GetProfileByPath(profile_file_path); | 739 GetProfileByPath(profile_file_path); |
| 736 DCHECK(profile); | 740 DCHECK(profile); |
| 737 | 741 |
| 738 profiles::FindOrCreateNewWindowForProfile( | 742 profiles::FindOrCreateNewWindowForProfile( |
| 739 profile, chrome::startup::IS_PROCESS_STARTUP, | 743 profile, chrome::startup::IS_PROCESS_STARTUP, |
| 740 chrome::startup::IS_FIRST_RUN, false); | 744 chrome::startup::IS_FIRST_RUN, false); |
| 741 } | 745 } |
| 742 | 746 |
| 743 #endif | 747 #endif |
| OLD | NEW |