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

Unified Diff: chrome/installer/util/create_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/create_reg_key_work_item.h
diff --git a/chrome/installer/util/create_reg_key_work_item.h b/chrome/installer/util/create_reg_key_work_item.h
index 448cb79d5ea221ee090a6dbae5310a53292044ae..455cb4bc5578ab5b419533cec4e45bed0ed6a8a8 100644
--- a/chrome/installer/util/create_reg_key_work_item.h
+++ b/chrome/installer/util/create_reg_key_work_item.h
@@ -25,7 +25,9 @@ class CreateRegKeyWorkItem : public WorkItem {
private:
friend class WorkItem;
- CreateRegKeyWorkItem(HKEY predefined_root, const std::wstring& path);
+ CreateRegKeyWorkItem(HKEY predefined_root,
+ const std::wstring& path,
+ REGSAM wow64_access);
// Initialize key_list_ by adding all paths of keys from predefined_root_
// to path_. Returns true if key_list_ is non empty.
@@ -38,6 +40,9 @@ class CreateRegKeyWorkItem : public WorkItem {
// Path of the key to be created.
std::wstring path_;
+ // Whether to force 32-bit or 64-bit view of the target key.
+ REGSAM wow64_access_;
+
// List of paths to all keys that need to be created from predefined_root_
// to path_.
std::vector<std::wstring> key_list_;
« no previous file with comments | « chrome/installer/util/copy_reg_key_work_item_unittest.cc ('k') | chrome/installer/util/create_reg_key_work_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698