Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm |
index 6c087c69b5b9a6bd882cc0f1f7acd0648549eb19..b9271cbd344b514ed158733118f5dce00d71142a 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm |
@@ -16,14 +16,15 @@ |
#include "chrome/browser/ui/cocoa/info_bubble_window.h" |
#import "chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h" |
#include "chrome/common/chrome_switches.h" |
+#include "components/signin/core/common/profile_management_switches.h" |
const char kDefaultProfileName[] = "default"; |
class AvatarButtonControllerTest : public CocoaProfileTest { |
public: |
virtual void SetUp() OVERRIDE { |
- CommandLine::ForCurrentProcess()->AppendSwitch( |
- switches::kNewProfileManagement); |
+ switches::EnableNewProfileManagementForTesting( |
+ CommandLine::ForCurrentProcess()); |
DCHECK(profiles::IsMultipleProfilesEnabled()); |
CocoaProfileTest::SetUp(); |