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

Unified Diff: chrome/browser/profiles/profile_info_cache_unittest.cc

Issue 431083003: Change new-avatar-menu to an enable-disable flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Issue with the rebase Created 6 years, 4 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/profiles/profile_info_cache_unittest.cc
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc
index 167b6cdd67ee27e1d8d952719177794939fb66e4..47c408de26d20553a3bc6fd95987a1b783e3b010 100644
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc
@@ -531,7 +531,7 @@ TEST_F(ProfileInfoCacheTest, AddStubProfile) {
}
TEST_F(ProfileInfoCacheTest, DownloadHighResAvatarTest) {
- CommandLine::ForCurrentProcess()->AppendSwitch(switches::kNewAvatarMenu);
+ switches::EnableNewAvatarMenuForTesting(CommandLine::ForCurrentProcess());
EXPECT_EQ(0U, GetCache()->GetNumberOfProfiles());
base::FilePath path_1 = GetProfilePath("path_1");

Powered by Google App Engine
This is Rietveld 408576698