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

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

Issue 1344443002: Implement new password separated sign in flow for chrome desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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 768ae5cd9fec8e314c39382bd4f05c56eab05171..df1c0bcc49d3407e36fc6bce757a18715c99ebc0 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -159,6 +159,11 @@ bool IsNewProfileManagementPreviewEnabled() {
return false;
}
+bool UsePasswordSeparatedSigninFlow() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnablePasswordSeparatedSigninFlow);
+}
+
void EnableNewAvatarMenuForTesting(base::CommandLine* command_line) {
command_line->AppendSwitch(switches::kEnableNewAvatarMenu);
DCHECK(!command_line->HasSwitch(switches::kDisableNewAvatarMenu));

Powered by Google App Engine
This is Rietveld 408576698