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

Unified Diff: chrome/browser/extensions/bookmark_app_helper.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/extensions/bookmark_app_helper.cc
diff --git a/chrome/browser/extensions/bookmark_app_helper.cc b/chrome/browser/extensions/bookmark_app_helper.cc
index bb52f29978bf063e54f4a5c1c8ebaed24bb08922..f07ad30f3518c83e92537346f2694d600f1e1a6a 100644
--- a/chrome/browser/extensions/bookmark_app_helper.cc
+++ b/chrome/browser/extensions/bookmark_app_helper.cc
@@ -688,8 +688,8 @@ void BookmarkAppHelper::FinishInstallation(const Extension* extension) {
// On Mac, shortcuts are automatically created for hosted apps when they are
// installed, so there is no need to create them again.
#if !defined(OS_MACOSX)
- chrome::HostDesktopType desktop = browser->host_desktop_type();
- if (desktop != chrome::HOST_DESKTOP_TYPE_ASH) {
+ ui::HostDesktopType desktop = browser->host_desktop_type();
+ if (desktop != ui::HOST_DESKTOP_TYPE_ASH) {
web_app::ShortcutLocations creation_locations;
#if defined(OS_LINUX)
creation_locations.on_desktop = true;

Powered by Google App Engine
This is Rietveld 408576698