Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm |
=================================================================== |
--- chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm (revision 277945) |
+++ chrome/browser/ui/cocoa/profiles/avatar_button_controller_unittest.mm (working copy) |
@@ -16,15 +16,14 @@ |
#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 { |
- switches::EnableNewProfileManagementForTesting( |
- CommandLine::ForCurrentProcess()); |
+ CommandLine::ForCurrentProcess()->AppendSwitch( |
+ switches::kNewProfileManagement); |
DCHECK(profiles::IsMultipleProfilesEnabled()); |
CocoaProfileTest::SetUp(); |