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

Unified Diff: chrome/installer/util/google_chrome_sxs_distribution.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: fix linux Created 7 years, 2 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/installer/util/google_chrome_sxs_distribution.cc
diff --git a/chrome/installer/util/google_chrome_sxs_distribution.cc b/chrome/installer/util/google_chrome_sxs_distribution.cc
index 1925f30bcdac3c7fef7df24b0f1b2201b45b8c5a..c4b211466ab3b0feca09f889d42d33ecf72fdb44 100644
--- a/chrome/installer/util/google_chrome_sxs_distribution.cc
+++ b/chrome/installer/util/google_chrome_sxs_distribution.cc
@@ -53,6 +53,18 @@ string16 GoogleChromeSxSDistribution::GetShortcutName(
}
}
+string16 GoogleChromeSxSDistribution::GetStartMenuShortcutSubfolder(
+ Subfolder subfolder_type) {
+ switch (subfolder_type) {
+ case SUBFOLDER_APPS:
+ return installer::GetLocalizedString(
+ IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY_BASE);
+ default:
+ DCHECK_EQ(subfolder_type, SUBFOLDER_CHROME);
+ return GetShortcutName(SHORTCUT_CHROME);
+ }
+}
+
string16 GoogleChromeSxSDistribution::GetBaseAppId() {
return kBrowserAppId;
}

Powered by Google App Engine
This is Rietveld 408576698