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

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

Issue 297233010: Revert 273108 "Omaha configuration parameters now use Wow6432Nod..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/2017/src/
Patch Set: Created 6 years, 7 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
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/app_command.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.cc
===================================================================
--- chrome/installer/setup/uninstall.cc (revision 273136)
+++ chrome/installer/setup/uninstall.cc (working copy)
@@ -97,7 +97,7 @@
BrowserDistribution::GetSpecificDistribution(dist_type);
update_list->AddSetRegValueWorkItem(reg_root,
other_dist->GetStateKey(),
- KEY_WOW64_32KEY,
+ WorkItem::kWow64Default,
google_update::kRegApField,
channel_info.value(),
true);
@@ -1179,13 +1179,14 @@
// 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(),
+ WorkItem::kWow64Default);
}
// Remove Omaha product key.
- InstallUtil::DeleteRegistryKey(
- reg_root, browser_dist->GetVersionKey(), KEY_WOW64_32KEY);
+ InstallUtil::DeleteRegistryKey(reg_root, browser_dist->GetVersionKey(),
+ WorkItem::kWow64Default);
// Also try to delete the MSI value in the ClientState key (it might not be
// there). This is due to a Google Update behaviour where an uninstall and a
@@ -1280,7 +1281,7 @@
InstallUtil::DeleteRegistryKey(
reg_root,
shadow_app_launcher_dist->GetVersionKey(),
- KEY_WOW64_32KEY);
+ WorkItem::kWow64Default);
}
}
}
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/util/app_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698