Chromium Code Reviews| 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; |
| } |