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

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

Issue 2621713004: Remove *BinariesDistribution and ChromeBinariesOperations from installer_util. (Closed)
Patch Set: sync to position 442533 Created 3 years, 11 months 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 60747ead92942d76332884c9be2e96ebcb7b515e..c6d0c96a38d7d1ada38963b00666a680ee466e88 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -903,10 +903,8 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
base::string16 distribution_data(browser_dist->GetDistributionData(reg_root));
// Remove Control Panel uninstall link.
- if (product.ShouldCreateUninstallEntry()) {
- InstallUtil::DeleteRegistryKey(
- reg_root, browser_dist->GetUninstallRegPath(), KEY_WOW64_32KEY);
- }
+ InstallUtil::DeleteRegistryKey(reg_root, browser_dist->GetUninstallRegPath(),
+ KEY_WOW64_32KEY);
// Remove Omaha product key.
InstallUtil::DeleteRegistryKey(

Powered by Google App Engine
This is Rietveld 408576698