| 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 78e3273a37579eb6096ae28fe4cb7b6bd18c3ec7..50037f956faa399d5b3953ea6a751f73aff64d82 100644
|
| --- a/chrome/browser/profiles/profile_manager_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_manager_unittest.cc
|
| @@ -1054,10 +1054,6 @@ TEST_F(ProfileManagerTest, ProfileDisplayNameResetsDefaultName) {
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| - // The command line is reset at the end of every test by the test suite.
|
| - switches::EnableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| EXPECT_EQ(0u, cache.GetNumberOfProfiles());
|
| @@ -1093,10 +1089,6 @@ TEST_F(ProfileManagerTest, ProfileDisplayNamePreservesCustomName) {
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| - // The command line is reset at the end of every test by the test suite.
|
| - switches::EnableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| EXPECT_EQ(0u, cache.GetNumberOfProfiles());
|
| @@ -1140,10 +1132,6 @@ TEST_F(ProfileManagerTest, ProfileDisplayNamePreservesSignedInName) {
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| - // The command line is reset at the end of every test by the test suite.
|
| - switches::EnableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| EXPECT_EQ(0u, cache.GetNumberOfProfiles());
|
| @@ -1195,10 +1183,6 @@ TEST_F(ProfileManagerTest, ProfileDisplayNameIsEmailIfDefaultName) {
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|
| - // The command line is reset at the end of every test by the test suite.
|
| - switches::EnableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| ProfileManager* profile_manager = g_browser_process->profile_manager();
|
| ProfileInfoCache& cache = profile_manager->GetProfileInfoCache();
|
| EXPECT_EQ(0u, cache.GetNumberOfProfiles());
|
|
|