Skip to content

Commit

Permalink
Bring back Gaia avatars if --new-avatar-menu is turned on.
Browse files Browse the repository at this point in the history
This should work whether or not --google-profile-info is turned on.

BUG=399678
TEST=Flip --new-avatar-menu (but not --google-profile-info). You should
be able to choose your Gaia avatar from the manageProfile dialog.

Review URL: https://codereview.chromium.org/417043008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287423 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
noms@chromium.org committed Aug 5, 2014
1 parent 6653f5b commit c8fe838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/signin/core/common/profile_management_switches.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c8fe838

Please sign in to comment.