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

Unified Diff: chrome/browser/apps/custom_launcher_page_browsertest_views.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/apps/custom_launcher_page_browsertest_views.cc
diff --git a/chrome/browser/apps/custom_launcher_page_browsertest_views.cc b/chrome/browser/apps/custom_launcher_page_browsertest_views.cc
index 78bd9d76e1bdc9c9226d5808bdb6c72f5ed16781..18a993ad1ca782ee3e02454badf260063f165786 100644
--- a/chrome/browser/apps/custom_launcher_page_browsertest_views.cc
+++ b/chrome/browser/apps/custom_launcher_page_browsertest_views.cc
@@ -64,8 +64,7 @@ class CustomLauncherPageBrowserTest
// Open the launcher. Ignores the Extension argument (this will simply
// activate any loaded launcher pages).
void LaunchPlatformApp(const extensions::Extension* /*unused*/) override {
- AppListService* service =
- AppListService::Get(chrome::HOST_DESKTOP_TYPE_NATIVE);
+ AppListService* service = AppListService::Get(ui::HOST_DESKTOP_TYPE_NATIVE);
DCHECK(service);
service->ShowForProfile(browser()->profile());
}
@@ -78,7 +77,7 @@ class CustomLauncherPageBrowserTest
EXPECT_TRUE(shell->GetAppListTargetVisibility());
#else
AppListServiceViews* service = static_cast<AppListServiceViews*>(
- AppListService::Get(chrome::HOST_DESKTOP_TYPE_NATIVE));
+ AppListService::Get(ui::HOST_DESKTOP_TYPE_NATIVE));
// The app list should have loaded instantly since the profile is already
// loaded.
EXPECT_TRUE(service->IsAppListVisible());

Powered by Google App Engine
This is Rietveld 408576698