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

Unified Diff: chrome/browser/web_applications/web_app.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
Index: chrome/browser/web_applications/web_app.cc
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index b8f62d6e4c3035517c88b0e30f4d483794dfb1d7..c421e64913125a730a791868e8a2a05f8a536595 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -391,10 +391,13 @@ void CreateShortcutsWithInfo(
file_handlers_info);
}
-void CreateNonAppShortcut(const ShortcutLocations& locations,
- const ShortcutInfo& shortcut_info) {
- ScheduleCreatePlatformShortcut(SHORTCUT_CREATION_AUTOMATED, locations,
- shortcut_info, extensions::FileHandlersInfo());
+void CreateNonAppShortcut(
+ ShortcutCreationReason reason,
+ const ShortcutLocations& locations,
+ const ShortcutInfo& shortcut_info,
+ const extensions::FileHandlersInfo& file_handlers_info) {
+ ScheduleCreatePlatformShortcut(reason, locations, shortcut_info,
+ file_handlers_info);
}
void CreateShortcuts(ShortcutCreationReason reason,

Powered by Google App Engine
This is Rietveld 408576698