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

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: 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..08c15b40e631404d57f70d189ec2ef7b51010af2 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,
+ RegWow64ViewOption reg_wow64_option);
// 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.
+ RegWow64ViewOption reg_wow64_option_;
+
// List of paths to all keys that need to be created from predefined_root_
// to path_.
std::vector<std::wstring> key_list_;

Powered by Google App Engine
This is Rietveld 408576698