summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_sxs_distribution.cc
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:17:15 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 21:17:15 +0000
commitb7564c1b011a4a2aedd21af53577bf049c44ecfc (patch)
treebf2be556d62ab52e15096b377d470ccc8fa6a2c7 /chrome/installer/util/google_chrome_sxs_distribution.cc
parent9443d7241ddc9c4e22455130615031d2e0c44003 (diff)
downloadchromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.zip
chromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.tar.gz
chromium_src-b7564c1b011a4a2aedd21af53577bf049c44ecfc.tar.bz2
Win SxS: Creating a new shortcut with enable-udd-profiles uses wrong icon.
BUG=44847 TEST=see bug Review URL: http://codereview.chromium.org/2557001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/google_chrome_sxs_distribution.cc')
-rw-r--r--chrome/installer/util/google_chrome_sxs_distribution.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_sxs_distribution.cc b/chrome/installer/util/google_chrome_sxs_distribution.cc
index 6807e93..6493ff9 100644
--- a/chrome/installer/util/google_chrome_sxs_distribution.cc
+++ b/chrome/installer/util/google_chrome_sxs_distribution.cc
@@ -12,6 +12,7 @@ namespace {
const wchar_t kChromeSxSGuid[] = L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}";
const wchar_t kChannelName[] = L"SxS";
+const int kSxSIconIndex = 4;
} // namespace
@@ -43,8 +44,8 @@ bool GoogleChromeSxSDistribution::CanSetAsDefault() {
return false;
}
-bool GoogleChromeSxSDistribution::ShouldUseAlternateIcon() {
- return true;
+int GoogleChromeSxSDistribution::GetIconIndex() {
+ return kSxSIconIndex;
}
bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) {