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

Unified Diff: components/signin/core/common/profile_management_switches.cc

Issue 2031763002: Flag for the desktop user menu revamp project (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/signin/core/common/profile_management_switches.cc
diff --git a/components/signin/core/common/profile_management_switches.cc b/components/signin/core/common/profile_management_switches.cc
index a49776224f2478623298b5506478b33251119bb0..98528111d06a3d51adf26187977ab95236ebc7cc 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -140,6 +140,10 @@ bool IsMaterialDesignUserManager() {
return base::FeatureList::IsEnabled(switches::kMaterialDesignUserManager);
}
+bool IsRedesignedDesktopUserMenu() {
+ return base::FeatureList::IsEnabled(switches::kRedesignedDesktopUserMenu);
+}
+
void EnableNewProfileManagementForTesting(base::CommandLine* command_line) {
command_line->AppendSwitch(switches::kEnableNewProfileManagement);
DCHECK(!command_line->HasSwitch(switches::kDisableNewProfileManagement));

Powered by Google App Engine
This is Rietveld 408576698