New avatar menu: Don't show the "Sign in to Chrome" button if sign-in is not allowed.
commitc7b11e8755ba75639a09d38be153ce4c1aa62e20
authortreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 May 2014 23:41:32 +0000 (21 23:41 +0000)
committertreib@chromium.org <treib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 21 May 2014 23:41:32 +0000 (21 23:41 +0000)
treef2ef10aa31d1caaeba830d7201becd8b148d93b7
parentbb343afc345751e4732d4effdbc76ef61f92ed0b
New avatar menu: Don't show the "Sign in to Chrome" button if sign-in is not allowed.
If the SigninManager won't allow signing in, then showing the button makes no sense. The hotdog menu does much the same thing (https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/toolbar/wrench_menu_model.cc&l=583)

Mac implementation to follow.

BUG=372812,310640

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272019 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/ui/views/profiles/profile_chooser_view.cc