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

Unified Diff: chrome/installer/util/set_reg_value_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/set_reg_value_work_item.h
diff --git a/chrome/installer/util/set_reg_value_work_item.h b/chrome/installer/util/set_reg_value_work_item.h
index f6bc5733e385ffa124d5be28640a81f7a277d812..16e62799be0487dddde69da2becb290ae9fc0c2e 100644
--- a/chrome/installer/util/set_reg_value_work_item.h
+++ b/chrome/installer/util/set_reg_value_work_item.h
@@ -44,16 +44,23 @@ class SetRegValueWorkItem : public WorkItem {
SetRegValueWorkItem(HKEY predefined_root,
const std::wstring& key_path,
+ REGSAM wow64_access,
const std::wstring& value_name,
const std::wstring& value_data,
bool overwrite);
- SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path,
- const std::wstring& value_name, DWORD value_data,
+ SetRegValueWorkItem(HKEY predefined_root,
+ const std::wstring& key_path,
+ REGSAM wow64_access,
+ const std::wstring& value_name,
+ DWORD value_data,
bool overwrite);
- SetRegValueWorkItem(HKEY predefined_root, const std::wstring& key_path,
- const std::wstring& value_name, int64 value_data,
+ SetRegValueWorkItem(HKEY predefined_root,
+ const std::wstring& key_path,
+ REGSAM wow64_access,
+ const std::wstring& value_name,
+ int64 value_data,
bool overwrite);
// Root key of the target key under which the value is set. The root key can
@@ -69,6 +76,9 @@ class SetRegValueWorkItem : public WorkItem {
// Whether to overwrite the existing value under the target key.
bool overwrite_;
+ // Whether to force 32-bit or 64-bit view of the target key.
+ REGSAM wow64_access_;
+
// Type of data to store
DWORD type_;
std::vector<uint8> value_;
« no previous file with comments | « chrome/installer/util/registry_key_backup_unittest.cc ('k') | chrome/installer/util/set_reg_value_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698