diff options
| author | scottmg <scottmg@chromium.org> | 2016-03-18 09:14:27 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-18 16:16:27 +0000 |
| commit | d12621f409b1b052a995b8ccc9fae7b185e85fe0 (patch) | |
| tree | 4dc89148046fa6811fa758ebf7428122487c4779 /chrome/browser/profiles/avatar_menu_actions_desktop.cc | |
| parent | a99580af7535508a417274daca97212e8b8a1e8e (diff) | |
| download | chromium_src-d12621f409b1b052a995b8ccc9fae7b185e85fe0.zip chromium_src-d12621f409b1b052a995b8ccc9fae7b185e85fe0.tar.gz chromium_src-d12621f409b1b052a995b8ccc9fae7b185e85fe0.tar.bz2 | |
Remove remaining HOST_DESKTOP_TYPE_... uses
Couldn't quite delete the .h yet. Hopefully after this one.
R=sky@chromium.org
BUG=558054
Review URL: https://codereview.chromium.org/1806903004
Cr-Commit-Position: refs/heads/master@{#381985}
Diffstat (limited to 'chrome/browser/profiles/avatar_menu_actions_desktop.cc')
| -rw-r--r-- | chrome/browser/profiles/avatar_menu_actions_desktop.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/chrome/browser/profiles/avatar_menu_actions_desktop.cc b/chrome/browser/profiles/avatar_menu_actions_desktop.cc index 233c8fe..87a1eb0 100644 --- a/chrome/browser/profiles/avatar_menu_actions_desktop.cc +++ b/chrome/browser/profiles/avatar_menu_actions_desktop.cc @@ -63,19 +63,11 @@ bool AvatarMenuActionsDesktop::ShouldShowAddNewProfileLink() const { // |browser_| can be NULL in unit_tests. if (browser_ && browser_->profile()->IsSupervised()) return false; -#if defined(OS_WIN) - return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH; -#else return true; -#endif } bool AvatarMenuActionsDesktop::ShouldShowEditProfileLink() const { -#if defined(OS_WIN) - return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH; -#else return true; -#endif } void AvatarMenuActionsDesktop::ActiveBrowserChanged(Browser* browser) { |
