Index: chrome/browser/shell_integration_linux.h |
diff --git a/chrome/browser/shell_integration_linux.h b/chrome/browser/shell_integration_linux.h |
index c91bac2c6d4e5b16789c5518f4d1372a90f9763a..f6bd1d828e4b74516fbc5c361b5953f4900b42d0 100644 |
--- a/chrome/browser/shell_integration_linux.h |
+++ b/chrome/browser/shell_integration_linux.h |
@@ -119,11 +119,13 @@ bool CreateDesktopShortcut( |
const web_app::ShortcutInfo& shortcut_info, |
const web_app::ShortcutLocations& creation_locations); |
+#if defined(ENABLE_APP_LIST) |
// Create shortcuts in the application menu for the app launcher. Duplicate |
// shortcuts are avoided, so if a requested shortcut already exists it is |
// deleted first. Also creates the icon required by the shortcut. |
bool CreateAppListDesktopShortcut(const std::string& wm_class, |
const std::string& title); |
+#endif |
// Delete any desktop shortcuts on desktop or in the application menu that have |
// been added for the extension with |extension_id| in |profile_path|. |