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

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

Issue 1782583003: Puts the new Material Design User Manager behind a flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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.h
diff --git a/components/signin/core/common/profile_management_switches.h b/components/signin/core/common/profile_management_switches.h
index 2b6044607f80902f1dacaa3ae50009a45b17f8ad..fff724e35f98dcec3f8a18811d66c1385f5c4206 100644
--- a/components/signin/core/common/profile_management_switches.h
+++ b/components/signin/core/common/profile_management_switches.h
@@ -35,6 +35,9 @@ bool IsNewProfileManagementPreviewEnabled();
// Checks whether the new gaia password separated sign in flow is enabled.
bool UsePasswordSeparatedSigninFlow();
+// Whether the new Material Design User Manager should be displayed.
+bool IsMDUserManager();
anthonyvd 2016/03/10 16:01:45 I'd avoid the "MD" abbreviation and go with IsMate
Alexei Svitkine (slow) 2016/03/10 16:04:33 Drive-by: Why not use the FeatureList::IsEnabled()
Moe 2016/03/10 18:18:21 simply following the existing standard in this fil
Moe 2016/03/10 18:18:21 Done.
+
// Called in tests to force enabling different modes.
void EnableNewProfileManagementForTesting(base::CommandLine* command_line);
void EnableAccountConsistencyForTesting(base::CommandLine* command_line);

Powered by Google App Engine
This is Rietveld 408576698