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

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

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.cc
diff --git a/components/signin/core/common/profile_management_switches.cc b/components/signin/core/common/profile_management_switches.cc
index 57c99e7ed32f9b2fc875404cb4adbe06690f8114..ebd6c815f96f5f367a412d865c52ecc3c72b6fa6 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -4,6 +4,8 @@
#include "components/signin/core/common/profile_management_switches.h"
+#include <string>
anthonyvd 2016/03/10 16:01:44 Is this include necessary?
Moe 2016/03/10 18:18:21 to quiet git-cl lint
+
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial.h"
@@ -134,6 +136,10 @@ bool UsePasswordSeparatedSigninFlow() {
switches::kUsePasswordSeparatedSigninFlow);
}
+bool IsMDUserManager() {
+ return base::FeatureList::IsEnabled(switches::kMDUserManager);
+}
+
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