| Index: chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_list_desktop_unittest.cc b/chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| index 4f86a9f29cd71cc1c34fc2c2730f4eed9ea62fbd..0192aa144b51d8eb2e28aad0793dcfb3e3bed2b3 100644
|
| --- a/chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| @@ -282,24 +282,6 @@ TEST_F(ProfileListDesktopTest, ShowAvatarMenuInTrial) {
|
| #endif
|
| }
|
|
|
| -TEST_F(ProfileListDesktopTest, DontShowOldAvatarMenuForSingleProfile) {
|
| - switches::DisableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| - manager()->CreateTestingProfile("Test 1");
|
| -
|
| - EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu());
|
| -
|
| - // If multiprofile mode is enabled, there are no other cases when we wouldn't
|
| - // show the menu.
|
| - if (profiles::IsMultipleProfilesEnabled())
|
| - return;
|
| -
|
| - manager()->CreateTestingProfile("Test 2");
|
| -
|
| - EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu());
|
| -}
|
| -
|
| TEST_F(ProfileListDesktopTest, AlwaysShowNewAvatarMenu) {
|
| // If multiprofile mode is not enabled then the menu is never shown.
|
| if (!profiles::IsMultipleProfilesEnabled())
|
|
|