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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.mm

Issue 819823002: Fixed create application shortcuts on Windows/Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/app_list/app_list_service_mac.mm
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm
index 9b06e7285a95158e66e849f8fe042d97fa26a170..d8c1fef11688598ebee306287b14c70061c558a9 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
@@ -150,7 +150,9 @@ void CreateAppListShim(const base::FilePath& profile_path) {
if (installed_version == 0)
shortcut_locations.in_quick_launch_bar = true;
- web_app::CreateNonAppShortcut(shortcut_locations, shortcut_info);
+ web_app::CreateNonAppShortcut(web_app::SHORTCUT_CREATION_AUTOMATED,
+ shortcut_locations, shortcut_info,
+ extensions::FileHandlersInfo());
local_state->SetInteger(prefs::kAppLauncherShortcutVersion,
kShortcutVersion);

Powered by Google App Engine
This is Rietveld 408576698