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

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

Issue 417043008: Bring back Gaia avatars if --new-avatar-menu is turned on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: commas need spaces too 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 c1afca4f4dc6e8a87a96f7f2086e488522811481..d24145cf013f0c93de1291cc2205361536a11a03 100644
--- a/components/signin/core/common/profile_management_switches.cc
+++ b/components/signin/core/common/profile_management_switches.cc
@@ -122,8 +122,8 @@ bool IsFastUserSwitching() {
}
bool IsGoogleProfileInfo() {
- return CheckFlag(switches::kGoogleProfileInfo,
- STATE_NEW_PROFILE_MANAGEMENT);
+ return IsNewAvatarMenu() ||
+ CheckFlag(switches::kGoogleProfileInfo, STATE_NONE);
}
bool IsNewAvatarMenu() {
« 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