summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/shell_util.cc
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 01:16:39 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-26 01:16:39 +0000
commitd08afaede69bbd856a878b86c99f43a4636c1757 (patch)
treed5e41d82121d68bdf3bf9c9a5b38e4cafd1117df /chrome/installer/util/shell_util.cc
parent23ce6e01ad8be836a2555ca738a63dd4c4e26da1 (diff)
downloadchromium_src-d08afaede69bbd856a878b86c99f43a4636c1757.zip
chromium_src-d08afaede69bbd856a878b86c99f43a4636c1757.tar.gz
chromium_src-d08afaede69bbd856a878b86c99f43a4636c1757.tar.bz2
Use different short cut names for SxS installation.
This change includes: desktop shortcut, quick launch short cut, short cut name in start menu, add/remove program name. BUG=35574 TEST=Run "setup --chrome-sxs" and Chrome is installed with different short cut. Review URL: http://codereview.chromium.org/661051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/shell_util.cc')
-rw-r--r--chrome/installer/util/shell_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc
index bb6118d..542c73a 100644
--- a/chrome/installer/util/shell_util.cc
+++ b/chrome/installer/util/shell_util.cc
@@ -511,7 +511,7 @@ std::wstring ShellUtil::GetChromeShellOpenCmd(const std::wstring& chrome_exe) {
bool ShellUtil::GetChromeShortcutName(std::wstring* shortcut, bool alternate) {
BrowserDistribution* dist = BrowserDistribution::GetDistribution();
shortcut->assign(alternate ? dist->GetAlternateApplicationName() :
- dist->GetApplicationName());
+ dist->GetAppShortCutName());
shortcut->append(L".lnk");
return true;
}