| 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 2785cf4e8e7cd31e79486e43e41421c46fe1954e..f1a72033047ef77805873b79354742d2eb954671 100644
|
| --- a/components/signin/core/common/profile_management_switches.cc
|
| +++ b/components/signin/core/common/profile_management_switches.cc
|
| @@ -126,7 +126,13 @@ bool IsEnableAccountConsistency() {
|
|
|
| bool IsEnableWebBasedSignin() {
|
| return CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableWebBasedSignin) && !IsNewProfileManagement();
|
| + switches::kEnableWebBasedSignin) && !IsNewProfileManagement() &&
|
| + !IsEnableWebviewBasedSignin();
|
| +}
|
| +
|
| +bool IsEnableWebviewBasedSignin() {
|
| + return CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableWebviewBasedSignin);
|
| }
|
|
|
| bool IsExtensionsMultiAccount() {
|
|
|