Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
index 7f722279aafcc2de45f7435d39d61bbbb44e401a..9eac2dc529fa3810143694f2736aacbb86262c29 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc |
@@ -693,7 +693,7 @@ void ChromeLauncherController::LaunchApp(const std::string& app_id, |
// The app will be created for the currently active profile. |
AppLaunchParams params( |
profile_, extension, ui::DispositionFromEventFlags(event_flags), |
- chrome::HOST_DESKTOP_TYPE_ASH, extensions::SOURCE_APP_LAUNCHER); |
+ ui::HOST_DESKTOP_TYPE_ASH, extensions::SOURCE_APP_LAUNCHER); |
if (source != ash::LAUNCH_FROM_UNKNOWN && |
app_id == extensions::kWebStoreAppId) { |
// Get the corresponding source string. |
@@ -872,13 +872,13 @@ bool ChromeLauncherController::IsLoggedInAsGuest() { |
void ChromeLauncherController::CreateNewWindow() { |
// Use the currently active user. |
- chrome::NewEmptyWindow(profile_, chrome::HOST_DESKTOP_TYPE_ASH); |
+ chrome::NewEmptyWindow(profile_, ui::HOST_DESKTOP_TYPE_ASH); |
} |
void ChromeLauncherController::CreateNewIncognitoWindow() { |
// Use the currently active user. |
chrome::NewEmptyWindow(profile_->GetOffTheRecordProfile(), |
- chrome::HOST_DESKTOP_TYPE_ASH); |
+ ui::HOST_DESKTOP_TYPE_ASH); |
} |
void ChromeLauncherController::PersistPinnedState() { |
@@ -2021,7 +2021,7 @@ void ChromeLauncherController::CloseWindowedAppsFromRemovedExtension( |
// This function cannot rely on the controller's enumeration functionality |
// since the extension has already be unloaded. |
const BrowserList* ash_browser_list = |
- BrowserList::GetInstance(chrome::HOST_DESKTOP_TYPE_ASH); |
+ BrowserList::GetInstance(ui::HOST_DESKTOP_TYPE_ASH); |
std::vector<Browser*> browser_to_close; |
for (BrowserList::const_reverse_iterator |
it = ash_browser_list->begin_last_active(); |