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

Unified Diff: chrome/browser/ui/views/auto_keep_alive.cc

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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
Index: chrome/browser/ui/views/auto_keep_alive.cc
diff --git a/chrome/browser/ui/views/auto_keep_alive.cc b/chrome/browser/ui/views/auto_keep_alive.cc
index c7128e983f42d2d346c655574c26f50c22fbd385..fb192a11038be559bd438aedeead548237071610 100644
--- a/chrome/browser/ui/views/auto_keep_alive.cc
+++ b/chrome/browser/ui/views/auto_keep_alive.cc
@@ -12,10 +12,10 @@ AutoKeepAlive::AutoKeepAlive(gfx::NativeWindow window)
// In case of aura we want default to be keep alive not available for ash
// because ash has keep alive set and we don't want additional keep alive
// count.
- chrome::HostDesktopType desktop_type =
+ ui::HostDesktopType desktop_type =
window ? chrome::GetHostDesktopTypeForNativeWindow(window)
: chrome::GetActiveDesktop();
- if (desktop_type != chrome::HOST_DESKTOP_TYPE_ASH) {
+ if (desktop_type != ui::HOST_DESKTOP_TYPE_ASH) {
keep_alive_available_ = true;
chrome::IncrementKeepAliveCount();
}

Powered by Google App Engine
This is Rietveld 408576698