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

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

Issue 1038423004: Reland of: Change default code flag to NewAvatarMenu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unneeded code from ProfileInfoCacheTest Created 5 years, 8 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 | « chrome/test/base/testing_profile_manager.cc ('k') | 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 88c65abb0a555a59eb1397bc36e493f8fe002f9c..49af6f198ae6b9bf6700f18f6b01b5e75863654a 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -79,16 +79,16 @@ State GetProcessState() {
} else if (is_new_avatar_menu) {
return STATE_NEW_AVATAR_MENU;
} else if (not_new_profile_management) {
- return STATE_OLD_AVATAR_MENU;
+ return STATE_NEW_AVATAR_MENU;
} else if (not_consistent_identity) {
- return STATE_OLD_AVATAR_MENU;
+ return STATE_NEW_AVATAR_MENU;
}
// Set the default state
#if defined(OS_ANDROID) || defined(OS_IOS)
State state = STATE_ACCOUNT_CONSISTENCY;
#else
- State state = STATE_OLD_AVATAR_MENU;
+ State state = STATE_NEW_AVATAR_MENU;
#endif
if (!trial_type.empty()) {
@@ -99,7 +99,7 @@ State GetProcessState() {
} else if (trial_type == "NewAvatarMenu") {
state = STATE_NEW_AVATAR_MENU;
} else {
- state = STATE_OLD_AVATAR_MENU;
+ state = STATE_NEW_AVATAR_MENU;
}
}
« no previous file with comments | « chrome/test/base/testing_profile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698