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

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

Issue 616173003: Allow Registry Iterator functions to use a specified WOW64 mode when iterating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 c06a2fcc2d19b4ef429c82d3cfb7bd5e47f029ab..e9450ffd2b196f75a6c3c31cc547e4d1e9ddf18a 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -803,7 +803,7 @@ void UninstallActiveSetupEntries(const InstallerState& installer_state,
"hives.";
}
- for (base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, kProfileList);
+ for (base::win::RegistryKeyIterator it(HKEY_LOCAL_MACHINE, kProfileList, 0);
it.Valid(); ++it) {
const wchar_t* profile_sid = it.Name();
@@ -938,8 +938,9 @@ bool DeleteChromeRegistrationKeys(const InstallerState& installer_state,
base::string16 client_name;
base::string16 client_key;
base::string16 open_key;
- for (RegistryKeyIterator iter(root, ShellUtil::kRegStartMenuInternet);
- iter.Valid(); ++iter) {
+ for (RegistryKeyIterator iter(root, ShellUtil::kRegStartMenuInternet, 0);
+ iter.Valid();
+ ++iter) {
client_name.assign(iter.Name());
client_key.assign(ShellUtil::kRegStartMenuInternet)
.append(1, L'\\')

Powered by Google App Engine
This is Rietveld 408576698