From d12621f409b1b052a995b8ccc9fae7b185e85fe0 Mon Sep 17 00:00:00 2001 From: scottmg Date: Fri, 18 Mar 2016 09:14:27 -0700 Subject: 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} --- chrome/browser/profiles/avatar_menu_actions_desktop.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'chrome/browser/profiles/avatar_menu_actions_desktop.cc') 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) { -- cgit v1.1