| 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 553f875eb59fd8e848a02d107b135f0314d90cb8..3ca15690266c68244466d307171cc8e816680a05 100644
|
| --- a/chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_list_desktop_unittest.cc
|
| @@ -282,37 +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())
|
| - return;
|
| -
|
| - switches::EnableNewAvatarMenuForTesting(
|
| - base::CommandLine::ForCurrentProcess());
|
| -
|
| - manager()->CreateTestingProfile("Test 1");
|
| -
|
| - EXPECT_TRUE(AvatarMenu::ShouldShowAvatarMenu());
|
| -}
|
| -
|
| TEST_F(ProfileListDesktopTest, ShowAvatarMenu) {
|
| // If multiprofile mode is not enabled then the menu is never shown.
|
| if (!profiles::IsMultipleProfilesEnabled())
|
|
|