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

Unified Diff: chrome/browser/ui/views/create_application_shortcut_view.cc

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
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/create_application_shortcut_view.cc
diff --git a/chrome/browser/ui/views/create_application_shortcut_view.cc b/chrome/browser/ui/views/create_application_shortcut_view.cc
index 6361d207a4d3ecf1aef86ccb9ce8236b53f71508..2f462b2f757aa59500a3e8645b270ad717a2e9ff 100644
--- a/chrome/browser/ui/views/create_application_shortcut_view.cc
+++ b/chrome/browser/ui/views/create_application_shortcut_view.cc
@@ -391,10 +391,9 @@ bool CreateApplicationShortcutView::Accept() {
creation_locations.in_quick_launch_bar = false;
#endif
- web_app::CreateShortcutsWithInfo(web_app::SHORTCUT_CREATION_BY_USER,
- creation_locations,
- shortcut_info_,
- file_handlers_info_);
+ web_app::CreateNonAppShortcut(web_app::SHORTCUT_CREATION_BY_USER,
tapted 2014/12/22 00:05:09 This doesn't look right. The profile and extension
mitchellj 2014/12/22 00:32:23 I think option b) here is probably the easiest for
+ creation_locations, shortcut_info_,
+ file_handlers_info_);
return true;
}
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | chrome/browser/web_applications/web_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698