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

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

Issue 795873004: Enable webview-based sign-in to chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 a69675360e829e52dee08ab5284f2c0f89480df5..45db24ccc4dac767f1e2bdf13d19b272fcde037e 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -136,8 +136,8 @@ bool IsEnableWebBasedSignin() {
}
bool IsEnableWebviewBasedSignin() {
- return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebviewBasedSignin);
+ return !CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableIframeBasedSignin);
}
bool IsExtensionsMultiAccount() {

Powered by Google App Engine
This is Rietveld 408576698