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

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

Issue 1412453002: Remove enable-iframe-based-signin flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed uneeded code Created 5 years 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 42e78b45aa85aa6df9e486eff3ac3307ea1fe220..7c103b734524f39547f9436e09b665b6fec97ed6 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -110,16 +110,6 @@ bool IsEnableAccountConsistency() {
return GetProcessState() >= STATE_ACCOUNT_CONSISTENCY;
}
-bool IsEnableWebviewBasedSignin() {
- // For now, the webview is enabled only for desktop.
-#if defined(OS_CHROMEOS)
- return false;
-#else
- return !base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableIframeBasedSignin);
-#endif
-}
-
bool IsExtensionsMultiAccount() {
return CheckFlag(switches::kExtensionsMultiAccount,
STATE_ACCOUNT_CONSISTENCY);

Powered by Google App Engine
This is Rietveld 408576698