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

Unified Diff: chrome/installer/util/registry_key_backup.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
« no previous file with comments | « chrome/installer/util/install_util_unittest.cc ('k') | chrome/installer/util/registry_key_backup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/registry_key_backup.h
diff --git a/chrome/installer/util/registry_key_backup.h b/chrome/installer/util/registry_key_backup.h
index ebee4afc6fce95ec7aea2beffa2a72681d1ca417..68f29c336ea8a4e8b573b9347241af63e374fc3a 100644
--- a/chrome/installer/util/registry_key_backup.h
+++ b/chrome/installer/util/registry_key_backup.h
@@ -26,12 +26,12 @@ class RegistryKeyBackup {
// Recursively reads |key_path| into this instance. Backing up a non-existent
// key is valid. Returns true if the backup was successful; false otherwise,
// in which case the state of this instance is not modified.
- bool Initialize(HKEY root, const wchar_t* key_path);
+ bool Initialize(HKEY root, const wchar_t* key_path, REGSAM wow64_acccess);
// Writes the contents of this instance into |key|. The contents of
// |key_path| are not modified If this instance is uninitialized or was
// initialized from a non-existent key.
- bool WriteTo(HKEY root, const wchar_t* key_path) const;
+ bool WriteTo(HKEY root, const wchar_t* key_path, REGSAM wow64_acccess) const;
void swap(RegistryKeyBackup& other) {
key_data_.swap(other.key_data_);
« no previous file with comments | « chrome/installer/util/install_util_unittest.cc ('k') | chrome/installer/util/registry_key_backup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698