summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-10 03:44:28 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-10 03:44:28 +0000
commit7237bfcc6ded653b4ae2defaee6f1303b1744ede (patch)
tree532c17c7fcb634b20a694ccf2112b2fdae2c31c5 /chrome/browser/ui/views
parentc1527c043279d616ae78f71ba4117d3979fc5fcb (diff)
downloadchromium_src-7237bfcc6ded653b4ae2defaee6f1303b1744ede.zip
chromium_src-7237bfcc6ded653b4ae2defaee6f1303b1744ede.tar.gz
chromium_src-7237bfcc6ded653b4ae2defaee6f1303b1744ede.tar.bz2
Multi-Profiles: Enable multi-profiles by default for views ui
With this change mult-profiles is enabled by default for views ui. BUG=None TEST=None Review URL: http://codereview.chromium.org/7329034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views')
-rw-r--r--chrome/browser/ui/views/frame/browser_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 95bcc14..556af60 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -476,7 +476,7 @@ bool BrowserView::ShouldShowAvatar() const {
if (IsOffTheRecord())
return true;
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles)) {
+ 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;