| Index: chrome/browser/profiles/profile_manager_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
|
| index a0f1660238aba45a90dbf322455ce2a6b3010850..5aa63285a4b64f142d9958f68b545ff16f51fd1f 100644
|
| --- a/chrome/browser/profiles/profile_manager_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_manager_unittest.cc
|
| @@ -888,7 +888,7 @@ TEST_F(ProfileManagerTest, ProfileDisplayNameResetsDefaultName) {
|
|
|
| // The command line is reset at the end of every test by the test suite.
|
| CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kNewProfileManagement);
|
| + switches::kEnableNewProfileManagement);
|
|
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| @@ -923,7 +923,7 @@ TEST_F(ProfileManagerTest, ProfileDisplayNamePreservesCustomName) {
|
|
|
| // The command line is reset at the end of every test by the test suite.
|
| CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kNewProfileManagement);
|
| + switches::kEnableNewProfileManagement);
|
|
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| @@ -962,9 +962,9 @@ TEST_F(ProfileManagerTest, ProfileDisplayNamePreservesSignedInName) {
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| - // The command line is reset at the end of every test by the test suite.
|
| + // The command line is reset at the end of every test by the test suite.
|
| CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kNewProfileManagement);
|
| + switches::kEnableNewProfileManagement);
|
|
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
|
|