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

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: nits. fix call to DeleteRegistryKey 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..51c19f26ac58a0d8cbc7c9f82bb0ba3ef68095f5 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,
+ REGSAM wow64_access);
// 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.
+ REGSAM wow64_access_;
+
// Backup of the deleted key.
RegistryKeyBackup backup_;
« no previous file with comments | « chrome/installer/util/create_reg_key_work_item_unittest.cc ('k') | chrome/installer/util/delete_reg_key_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698