Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4683)

Unified Diff: chrome/installer/setup/uninstall.cc

Issue 11685006: [Fixit-Dec-2012] Auto-launch system-level Chrome post user-level Chrome self-destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index a85890b52ed6f4ca1248e289e7ea68488a2ad760..e91d762f6eb7ed0557942b4f8386ad5240daa3e3 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -24,6 +24,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/common/chrome_result_codes.h"
+#include "chrome/common/chrome_switches.h"
grt (UTC plus 2) 2013/01/02 17:59:33 remove?
gab 2013/01/02 21:15:48 Oops, leftover from before I moved it all to setup
#include "chrome/installer/setup/install.h"
#include "chrome/installer/setup/install_worker.h"
#include "chrome/installer/setup/setup_constants.h"
@@ -1327,14 +1328,6 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
if (!backup_state_file.empty())
file_util::Delete(backup_state_file, false);
- // If user-level Chrome is being uninstalled and system-level Chrome is
- // present, launch the system-level Active Setup command to do post-install
- // tasks for this user (i.e., create shortcuts).
- if (product.is_chrome() && !installer_state.system_install() &&
- original_state.GetProductState(true, browser_dist->GetType())) {
- InstallUtil::TriggerActiveSetupCommand();
- }
-
return ret;
}

Powered by Google App Engine
This is Rietveld 408576698