summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/browser_distribution.cc
diff options
context:
space:
mode:
authorhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 00:06:23 +0000
committerhuanr@chromium.org <huanr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-19 00:06:23 +0000
commit9bfc86df6a3ae4709b5c5b906e7e1255f33741b2 (patch)
tree5d844207448d0f733a34cd4c1e3172d494b7d8dd /chrome/installer/util/browser_distribution.cc
parent81bf98ca3a0aa32be3902a22b63f0a5b17a18ff6 (diff)
downloadchromium_src-9bfc86df6a3ae4709b5c5b906e7e1255f33741b2.zip
chromium_src-9bfc86df6a3ae4709b5c5b906e7e1255f33741b2.tar.gz
chromium_src-9bfc86df6a3ae4709b5c5b906e7e1255f33741b2.tar.bz2
Using different Version environment variable for SxS.
BUG=44474 TEST=mini_installer.exe --chrome-sxs. The first run should start regardless what is set for CHROME_VERSION. Review URL: http://codereview.chromium.org/2101006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/browser_distribution.cc')
-rw-r--r--chrome/installer/util/browser_distribution.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/installer/util/browser_distribution.cc b/chrome/installer/util/browser_distribution.cc
index c038281..21cdac5 100644
--- a/chrome/installer/util/browser_distribution.cc
+++ b/chrome/installer/util/browser_distribution.cc
@@ -134,6 +134,10 @@ std::wstring BrowserDistribution::GetVersionKey() {
return L"Software\\Chromium";
}
+std::wstring BrowserDistribution::GetEnvVersionKey() {
+ return L"CHROME_VERSION";
+}
+
bool BrowserDistribution::CanSetAsDefault() {
return true;
}