| Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| index 72e8d3a80a7cef0986586e8fba20c89d7d33e7a5..1c2e1fe342df88628eee1cb93e51377cda3fe728 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
|
| @@ -75,10 +75,6 @@ class ProfileChooserControllerTest : public CocoaProfileTest {
|
| [controller_ showWindow:nil];
|
| }
|
|
|
| - void EnableNewAvatarMenuOnly() {
|
| - CommandLine::ForCurrentProcess()->AppendSwitch(switches::kNewAvatarMenu);
|
| - }
|
| -
|
| void EnableFastUserSwitching() {
|
| CommandLine::ForCurrentProcess()->AppendSwitch(
|
| switches::kFastUserSwitching);
|
| @@ -97,7 +93,6 @@ class ProfileChooserControllerTest : public CocoaProfileTest {
|
| };
|
|
|
| TEST_F(ProfileChooserControllerTest, InitialLayoutWithNewMenu) {
|
| - EnableNewAvatarMenuOnly();
|
| StartProfileChooserController();
|
|
|
| NSArray* subviews = [[[controller() window] contentView] subviews];
|
| @@ -159,7 +154,6 @@ TEST_F(ProfileChooserControllerTest, InitialLayoutWithNewMenu) {
|
| }
|
|
|
| TEST_F(ProfileChooserControllerTest, InitialLayoutWithFastUserSwitcher) {
|
| - EnableNewAvatarMenuOnly();
|
| EnableFastUserSwitching();
|
| StartProfileChooserController();
|
|
|
| @@ -218,7 +212,6 @@ TEST_F(ProfileChooserControllerTest, InitialLayoutWithFastUserSwitcher) {
|
| }
|
|
|
| TEST_F(ProfileChooserControllerTest, OtherProfilesSortedAlphabetically) {
|
| - EnableNewAvatarMenuOnly();
|
| EnableFastUserSwitching();
|
|
|
| // Add two extra profiles, to make sure sorting is alphabetical and not
|
| @@ -259,7 +252,6 @@ TEST_F(ProfileChooserControllerTest, OtherProfilesSortedAlphabetically) {
|
|
|
| TEST_F(ProfileChooserControllerTest,
|
| LocalProfileActiveCardLinksWithNewMenu) {
|
| - EnableNewAvatarMenuOnly();
|
| StartProfileChooserController();
|
| NSArray* subviews = [[[controller() window] contentView] subviews];
|
| ASSERT_EQ(1U, [subviews count]);
|
| @@ -305,7 +297,6 @@ TEST_F(ProfileChooserControllerTest,
|
|
|
| TEST_F(ProfileChooserControllerTest,
|
| SignedInProfileActiveCardLinksWithNewMenu) {
|
| - EnableNewAvatarMenuOnly();
|
| // Sign in the first profile.
|
| ProfileInfoCache* cache = testing_profile_manager()->profile_info_cache();
|
| cache->SetUserNameOfProfileAtIndex(0, base::ASCIIToUTF16(kEmail));
|
|
|