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

Unified Diff: chrome/browser/apps/shortcut_manager.cc

Issue 13864015: Move app launcher and chrome apps shortcut strings into the installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migrate_app_id_fix
Patch Set: rework Created 7 years, 4 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/apps/shortcut_manager.cc
diff --git a/chrome/browser/apps/shortcut_manager.cc b/chrome/browser/apps/shortcut_manager.cc
index 539cf651b2579c240c62b3809fee91e280358b6c..91cbd0bd1b3256aa33ca158042cdeeef8ddc9368 100644
--- a/chrome/browser/apps/shortcut_manager.cc
+++ b/chrome/browser/apps/shortcut_manager.cc
@@ -40,10 +40,9 @@ namespace {
void CreateShortcutsInApplicationsMenu(
const ShellIntegration::ShortcutInfo& shortcut_info) {
ShellIntegration::ShortcutLocations creation_locations;
- creation_locations.in_applications_menu = true;
+ creation_locations.in_applications_menu_root = true;
// Create the shortcut in the Chrome Apps subdir.
- creation_locations.applications_menu_subdir =
- web_app::GetAppShortcutsSubdirName();
+ creation_locations.in_applications_menu_chrome_apps_subdir = true;
web_app::CreateShortcuts(shortcut_info, creation_locations,
web_app::SHORTCUT_CREATION_AUTOMATED);
}
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_win.cc » ('j') | chrome/browser/web_applications/web_app_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698