Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2838)

Unified Diff: chrome/browser/profiles/avatar_menu_actions_desktop.cc

Issue 136643006: Clean up some ifdefs around Win Aura. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/avatar_menu_actions_desktop.cc
===================================================================
--- chrome/browser/profiles/avatar_menu_actions_desktop.cc (revision 248569)
+++ chrome/browser/profiles/avatar_menu_actions_desktop.cc (working copy)
@@ -64,7 +64,7 @@
// |browser_| can be NULL in unit_tests.
if (browser_ && browser_->profile()->IsManaged())
return false;
-#if defined(USE_AURA) && defined(OS_WIN)
+#if defined(OS_WIN)
return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH;
#else
return true;
@@ -72,7 +72,7 @@
}
bool AvatarMenuActionsDesktop::ShouldShowEditProfileLink() const {
-#if defined(USE_AURA) && defined(OS_WIN)
+#if defined(OS_WIN)
return chrome::GetActiveDesktop() != chrome::HOST_DESKTOP_TYPE_ASH;
#else
return true;
« no previous file with comments | « chrome/browser/plugins/plugin_observer.cc ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698