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

Unified Diff: base/test/test_reg_util_win.h

Issue 575253002: Clean up unused param in RegistryOverrideManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more callers 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/test/test_reg_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_reg_util_win.h
diff --git a/base/test/test_reg_util_win.h b/base/test/test_reg_util_win.h
index 6ef6096d355b8ae30f71371810d0595af9072fdc..db71838f2d081063814f294cd82fcf8715675ba3 100644
--- a/base/test/test_reg_util_win.h
+++ b/base/test/test_reg_util_win.h
@@ -34,11 +34,10 @@ class RegistryOverrideManager {
RegistryOverrideManager();
~RegistryOverrideManager();
- // Override the given registry hive using a temporary key named by temp_name
- // under the temporary test key path. There is no need to randomize
- // |override_name|, as a random parent key is generated. Multiple overrides to
- // the same hive are not supported and lead to undefined behavior.
- void OverrideRegistry(HKEY override, const base::string16& override_name);
+ // Override the given registry hive using a randomly generated temporary key.
+ // Multiple overrides to the same hive are not supported and lead to undefined
+ // behavior.
+ void OverrideRegistry(HKEY override);
private:
friend class RegistryOverrideManagerTest;
« no previous file with comments | « no previous file | base/test/test_reg_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698