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

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: Address review comments Created 5 years, 3 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 6d58837d6524fffdfd513194ed88e1a5fb44aeb4..692f20cf3a8ad4a6680f58eaa9870d4d960876fe 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 UseNewGaiaFlow() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNewGaiaSigninFlow);
+}
+
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