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

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: Created 6 years, 5 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..9a494083e01f95a1845ff07ffcb66e8dd284ed4d 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);
Roger Tawa OOO till Jul 10th 2014/08/04 15:31:25 nit: space after ,
noms (inactive) 2014/08/04 17:27:43 Done.
}
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