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 62d88bbb830d603651fc39aba61d7de410d40699..b81b5690227bc061a5da75e616386f60f4122d7e 100644 |
--- a/chrome/browser/profiles/profile_list_desktop_unittest.cc |
+++ b/chrome/browser/profiles/profile_list_desktop_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <string> |
+#include "base/command_line.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/metrics/field_trial.h" |
#include "base/strings/string16.h" |
@@ -16,6 +17,7 @@ |
#include "chrome/browser/profiles/profiles_state.h" |
#include "chrome/test/base/testing_browser_process.h" |
#include "chrome/test/base/testing_profile_manager.h" |
+#include "components/signin/core/common/signin_switches.h" |
#include "grit/generated_resources.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -49,6 +51,8 @@ class ProfileListDesktopTest : public testing::Test { |
} |
virtual void SetUp() { |
+ CommandLine::ForCurrentProcess()-> |
+ AppendSwitch(switches::kDisableNewAvatarMenu); |
ASSERT_TRUE(manager_.SetUp()); |
#if defined(OS_CHROMEOS) |
// AvatarMenu and multiple profiles works after user logged in. |