Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4402)

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm

Issue 1038423004: Reland of: Change default code flag to NewAvatarMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unneeded code from ProfileInfoCacheTest Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698