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

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

Issue 646983008: Implement signin using webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed nits and updated histogram Created 6 years, 2 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 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() {
« no previous file with comments | « components/signin/core/common/profile_management_switches.h ('k') | components/signin/core/common/signin_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698