diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 22:05:29 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-14 22:05:29 +0000 |
commit | a3e2bc4122a33a9e71045986e2aebfb89c2a405c (patch) | |
tree | aa3d949acaf469b9d667a051ebbb7f327dce19a8 /chrome/installer | |
parent | 58c3b8b1dc98f264d9758077240e9806373fe62f (diff) | |
download | chromium_src-a3e2bc4122a33a9e71045986e2aebfb89c2a405c.zip chromium_src-a3e2bc4122a33a9e71045986e2aebfb89c2a405c.tar.gz chromium_src-a3e2bc4122a33a9e71045986e2aebfb89c2a405c.tar.bz2 |
Don't launch uninstall survey for forced user-level uninstalls
BUG=1575239
Review URL: http://codereview.chromium.org/18239
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/setup/uninstall.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc index 3e071e4..d7bac76 100644 --- a/chrome/installer/setup/uninstall.cc +++ b/chrome/installer/setup/uninstall.cc @@ -267,8 +267,10 @@ installer_util::InstallStatus installer_setup::UninstallChrome( if (!DeleteFilesAndFolders(exe_path, system_uninstall, installed_version)) return installer_util::UNINSTALL_FAILED; - LOG(INFO) << "Uninstallation complete. Launching Uninstall survey."; - dist->DoPostUninstallOperations(installed_version); + if (!force_uninstall) { + LOG(INFO) << "Uninstallation complete. Launching Uninstall survey."; + dist->DoPostUninstallOperations(installed_version); + } return installer_util::UNINSTALL_SUCCESSFUL; } |