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

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

Issue 449993004: Let finch control NewAvatarMenu. Disabling a flag forces disable all mirror. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c2cab31693ae6b5073cc1cee43acd41ba664d56f..1583970b5a10fb143c3e129b470c0eb774cc9392 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -81,9 +81,9 @@ State GetProcessState() {
} else if (is_new_avatar_menu) {
return STATE_NEW_AVATAR_MENU;
} else if (not_new_profile_management) {
- return STATE_NEW_AVATAR_MENU;
+ return STATE_OLD_AVATAR_MENU;
} else if (not_consistent_identity) {
- return STATE_NEW_AVATAR_MENU;
+ return STATE_OLD_AVATAR_MENU;
}
// Set the default state
@@ -98,6 +98,8 @@ State GetProcessState() {
state = STATE_NEW_PROFILE_MANAGEMENT;
} else if (trial_type == "AccountConsistency") {
state = STATE_ACCOUNT_CONSISTENCY;
+ } else if (trial_type == "NewAvatarMenu") {
+ state = STATE_NEW_AVATAR_MENU;
} else {
state = STATE_OLD_AVATAR_MENU;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698