| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 9d053ed2fda3c2828e6127d28e4db16b40499e06..d30e353e65c888b4a00988dd5c82cfba03c8256e 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -478,9 +478,10 @@ bool BrowserView::ShouldShowAvatar() const {
|
| return true;
|
|
|
| if (ProfileManager::IsMultipleProfilesEnabled()) {
|
| - // TODO(sail): Once the multi-profile options UI is done we only want to
|
| - // show the avatar if the user has more than one profile.
|
| - return true;
|
| + // Show the profile avatar after the user has created more than one profile.
|
| + ProfileInfoCache& cache =
|
| + g_browser_process->profile_manager()->GetProfileInfoCache();
|
| + return cache.GetNumberOfProfiles() > 1;
|
| }
|
|
|
| return false;
|
|
|