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

Unified Diff: chrome/installer/util/work_item_list.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/work_item_list.h
diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h
index 1660c37954cc1c231fc436c2133ade51ffa75f9e..448d43b65561c1ffd5c0d62f1bbc562c088e2488 100644
--- a/chrome/installer/util/work_item_list.h
+++ b/chrome/installer/util/work_item_list.h
@@ -47,7 +47,8 @@ class WorkItemList : public WorkItem {
virtual WorkItem* AddCopyRegKeyWorkItem(HKEY predefined_root,
const std::wstring& source_key_path,
const std::wstring& dest_key_path,
- CopyOverWriteOption overwrite_option);
+ CopyOverWriteOption overwrite_option,
+ RegWow64ViewOption reg_wow64_option);
grt (UTC plus 2) 2014/05/16 18:26:11 it looks like it's going to be pretty intrusive to
// Add a CopyTreeWorkItem to the list of work items.
// See the NOTE in the documentation for the CopyTreeWorkItem class for
@@ -64,19 +65,25 @@ class WorkItemList : public WorkItem {
// Add a CreateRegKeyWorkItem that creates a registry key at the given
// path.
- virtual WorkItem* AddCreateRegKeyWorkItem(HKEY predefined_root,
- const std::wstring& path);
+ virtual WorkItem* AddCreateRegKeyWorkItem(
+ HKEY predefined_root,
+ const std::wstring& path,
+ RegWow64ViewOption reg_wow64_option);
// Add a DeleteRegKeyWorkItem that deletes a registry key from the given
// path.
- virtual WorkItem* AddDeleteRegKeyWorkItem(HKEY predefined_root,
- const std::wstring& path);
+ virtual WorkItem* AddDeleteRegKeyWorkItem(
+ HKEY predefined_root,
+ const std::wstring& path,
+ RegWow64ViewOption reg_wow64_option);
// Add a DeleteRegValueWorkItem that deletes registry value of type REG_SZ
// or REG_DWORD.
- virtual WorkItem* AddDeleteRegValueWorkItem(HKEY predefined_root,
- const std::wstring& key_path,
- const std::wstring& value_name);
+ virtual WorkItem* AddDeleteRegValueWorkItem(
+ HKEY predefined_root,
+ const std::wstring& key_path,
+ const std::wstring& value_name,
+ RegWow64ViewOption reg_wow64_option);
// Add a DeleteTreeWorkItem that recursively deletes a file system
// hierarchy at the given root path. A key file can be optionally specified
@@ -102,7 +109,8 @@ class WorkItemList : public WorkItem {
const std::wstring& key_path,
const std::wstring& value_name,
const std::wstring& value_data,
- bool overwrite);
+ bool overwrite,
+ RegWow64ViewOption reg_wow64_option);
// Add a SetRegValueWorkItem that sets a registry value with REG_DWORD type
// at the key with specified path.
@@ -110,7 +118,8 @@ class WorkItemList : public WorkItem {
const std::wstring& key_path,
const std::wstring& value_name,
DWORD value_data,
- bool overwrite);
+ bool overwrite,
+ RegWow64ViewOption reg_wow64_option);
// Add a SetRegValueWorkItem that sets a registry value with REG_QWORD type
// at the key with specified path.
@@ -118,7 +127,8 @@ class WorkItemList : public WorkItem {
const std::wstring& key_path,
const std::wstring& value_name,
int64 value_data,
- bool overwrite);
+ bool overwrite,
+ RegWow64ViewOption reg_wow64_option);
// Add a SelfRegWorkItem that registers or unregisters a DLL at the
// specified path. If user_level_registration is true, then alternate

Powered by Google App Engine
This is Rietveld 408576698