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

Unified Diff: chrome/installer/util/install_util.h

Issue 282363003: Add WOW64 support to the installer registry work items (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: add wow64 logic to installer_util. mini_installer tests. 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/install_util.h
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index 1c3d0cba605b66d8c30993d4ad976ad3dc9797b1..f292b3bd7ac443244f5f0512a002ad8414980424 100644
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -113,7 +113,9 @@ class InstallUtil {
static bool GetEULASentinelFilePath(base::FilePath* path);
// Deletes the registry key at path key_path under the key given by root_key.
- static bool DeleteRegistryKey(HKEY root_key, const base::string16& key_path);
+ static LONG DeleteRegistryKey(HKEY root_key,
+ const base::string16& key_path,
+ REGSAM wow64_access);
// Deletes the registry value named value_name at path key_path under the key
// given by reg_root.
@@ -144,7 +146,8 @@ class InstallUtil {
const base::string16& key_to_delete_path,
const base::string16& key_to_test_path,
const wchar_t* value_name,
- const RegistryValuePredicate& predicate);
+ const RegistryValuePredicate& predicate,
+ REGSAM wow64_access);
// Deletes the value |value_name| in the key |key_path| under |root_key| iff
// its current value satisfies |predicate|. |value_name| may be either NULL
@@ -153,7 +156,8 @@ class InstallUtil {
HKEY root_key,
const wchar_t* key_path,
const wchar_t* value_name,
- const RegistryValuePredicate& predicate);
+ const RegistryValuePredicate& predicate,
+ REGSAM wow64_access);
// A predicate that performs a case-sensitive string comparison.
class ValueEquals : public RegistryValuePredicate {

Powered by Google App Engine
This is Rietveld 408576698