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

Unified Diff: base/test/test_reg_util_win.cc

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: Created 6 years, 3 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 | « no previous file | base/win/registry.h » ('j') | base/win/registry.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_reg_util_win.cc
diff --git a/base/test/test_reg_util_win.cc b/base/test/test_reg_util_win.cc
index 2cbafef105a6b5cba88c02b224bbe887a0d58b2b..d71263376fc562ef05f4f625eba43844309af5ed 100644
--- a/base/test/test_reg_util_win.cc
+++ b/base/test/test_reg_util_win.cc
@@ -28,8 +28,8 @@ void DeleteStaleTestKeys(const base::Time& now,
return;
}
- base::win::RegistryKeyIterator iterator_test_root_key(HKEY_CURRENT_USER,
- test_key_root.c_str());
+ base::win::RegistryKeyIterator iterator_test_root_key(
+ HKEY_CURRENT_USER, test_key_root.c_str(), 0);
for (; iterator_test_root_key.Valid(); ++iterator_test_root_key) {
base::string16 key_name = iterator_test_root_key.Name();
std::vector<base::string16> tokens;
« no previous file with comments | « no previous file | base/win/registry.h » ('j') | base/win/registry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698