Index: chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm |
diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm |
index 90160c16f5ebb65a72dbc774ae73b6f724ca801f..2a82c2f543fcbd8a741c91d2913b53f38a0ae8da 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm |
@@ -14,6 +14,7 @@ |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "chrome/test/base/browser_with_test_window_test.h" |
+#include "components/signin/core/common/profile_management_switches.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
@@ -21,6 +22,8 @@ namespace { |
class BookmarkSyncPromoControllerTest : public BrowserWithTestWindowTest { |
public: |
void SetUp() override { |
+ switches::DisableNewAvatarMenuForTesting( |
+ base::CommandLine::ForCurrentProcess()); |
BrowserWithTestWindowTest::SetUp(); |
ASSERT_TRUE(profile()); |
// Adds TestExtensionSystem, since signin uses the gaia auth extension. |