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

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

Issue 616173003: Allow Registry Iterator functions to use a specified WOW64 mode when iterating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review comments Created 6 years, 2 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/app_commands.h
diff --git a/chrome/installer/util/app_commands.h b/chrome/installer/util/app_commands.h
index f67093d31de6f5dcabe5261a29a2d85543936007..61ea14e3854731a799d884618c44514859620a34 100644
--- a/chrome/installer/util/app_commands.h
+++ b/chrome/installer/util/app_commands.h
@@ -36,7 +36,9 @@ class AppCommands {
// (typically the "Commands" subkey of a BrowserDistribution's "version key").
// |key| must have been opened with at least
// KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE access rights.
- bool Initialize(const base::win::RegKey& key);
+ // |wow64access| must be one of 0, KEY_WOW64_32KEY or KEY_WOW64_64KEY and
+ // must match the original WOW64 access used to open |key| previously.
+ bool Initialize(const base::win::RegKey& key, REGSAM wow64access);
// Replaces the contents of this object with that of |other|.
AppCommands& CopyFrom(const AppCommands& other);

Powered by Google App Engine
This is Rietveld 408576698