summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorgwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 20:53:08 +0000
committergwilson@google.com <gwilson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 20:53:08 +0000
commit7fbb264f4a87ba3c93a74c4412a599c3bbb3a4f6 (patch)
tree30b3604436a173eb7241550f15aa2747246a480b /chrome/installer
parente37f2c0b32cf575cc260f5c3e6061a598baf2eb4 (diff)
downloadchromium_src-7fbb264f4a87ba3c93a74c4412a599c3bbb3a4f6.zip
chromium_src-7fbb264f4a87ba3c93a74c4412a599c3bbb3a4f6.tar.gz
chromium_src-7fbb264f4a87ba3c93a74c4412a599c3bbb3a4f6.tar.bz2
Modifies Installation return codes to not return success (0) if an existing version was launched. Omaha needs to know the correct error result if it is to show the right error message to the user.
R=cpu BUG=40607 TEST=Over-install trunk/dev channel over a system-level stable install, you should see error code 3 Review URL: http://codereview.chromium.org/1747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/browser_distribution.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/installer/util/browser_distribution.cc b/chrome/installer/util/browser_distribution.cc
index 7eed257..afce15f 100644
--- a/chrome/installer/util/browser_distribution.cc
+++ b/chrome/installer/util/browser_distribution.cc
@@ -95,7 +95,6 @@ int BrowserDistribution::GetInstallReturnCode(
case installer_util::FIRST_INSTALL_SUCCESS:
case installer_util::INSTALL_REPAIRED:
case installer_util::NEW_VERSION_UPDATED:
- case installer_util::EXISTING_VERSION_LAUNCHED:
case installer_util::IN_USE_UPDATED:
return 0;
default: