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

Unified Diff: chrome/installer/util/delete_reg_key_work_item.h

Issue 282363003: Add WOW64 support to the installer registry work items (Closed) Base URL: https://chromium.googlesource.com/chromium/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
Index: chrome/installer/util/delete_reg_key_work_item.h
diff --git a/chrome/installer/util/delete_reg_key_work_item.h b/chrome/installer/util/delete_reg_key_work_item.h
index 4b92b9485acff7aef0f07ac37bcf23a2bcc0e59d..d169727150258e80449eb7354d76d4b7cb419bff 100644
--- a/chrome/installer/util/delete_reg_key_work_item.h
+++ b/chrome/installer/util/delete_reg_key_work_item.h
@@ -30,7 +30,9 @@ class DeleteRegKeyWorkItem : public WorkItem {
private:
friend class WorkItem;
- DeleteRegKeyWorkItem(HKEY predefined_root, const std::wstring& path);
+ DeleteRegKeyWorkItem(HKEY predefined_root,
+ const std::wstring& path,
+ RegWow64ViewOption reg_wow64_option);
// Root key from which we delete the key. The root key can only be
// one of the predefined keys on Windows.
@@ -39,6 +41,9 @@ class DeleteRegKeyWorkItem : public WorkItem {
// Path of the key to be deleted.
std::wstring path_;
+ // Whether to force 32-bit or 64-bit view of the target key.
+ RegWow64ViewOption reg_wow64_option_;
+
// Backup of the deleted key.
RegistryKeyBackup backup_;

Powered by Google App Engine
This is Rietveld 408576698