summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 17:30:38 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-05 17:30:38 +0000
commit4d562a7e2538a1396a4dbeae66aea33f4f4afcd3 (patch)
tree22017ef638d79153eee6f559773f182e43d6aa40 /chrome/browser/browser_main.cc
parent83f614694645507a493c366a9f6319efd9a9c3db (diff)
downloadchromium_src-4d562a7e2538a1396a4dbeae66aea33f4f4afcd3.zip
chromium_src-4d562a7e2538a1396a4dbeae66aea33f4f4afcd3.tar.gz
chromium_src-4d562a7e2538a1396a4dbeae66aea33f4f4afcd3.tar.bz2
While uninstalling Chrome look for return codes from chrome.exe that indicate success instead of checking for failure codes. This will prevent us from uninstalling Chrome when chrome.exe process gets killed.
BUG=1307273 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 057e254..686be7c 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -182,11 +182,11 @@ int DoUninstallTasks() {
LOG(INFO) << "Executing uninstall actions";
ResultCodes::ExitCode ret = ResultCodes::NORMAL_EXIT;
if (!FirstRun::RemoveSentinel())
- ret = ResultCodes::UNINSTALL_ERROR;
+ ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR;
if (!FirstRun::RemoveChromeDesktopShortcut())
- ret = ResultCodes::UNINSTALL_ERROR;
+ ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR;
if (!FirstRun::RemoveChromeQuickLaunchShortcut())
- ret = ResultCodes::UNINSTALL_ERROR;
+ ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR;
return ret;
}