Chromium Code Reviews| 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)); |