summaryrefslogtreecommitdiffstats
path: root/chrome_elf
diff options
context:
space:
mode:
authorgab <gab@chromium.org>2014-09-17 19:37:47 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-18 02:38:22 +0000
commit6f7c83b276431b5473bd064e4eb315d60e17744f (patch)
treee8fa7d18ae547e29b8291645e436865a6855cdca /chrome_elf
parentf193baa17491771732a4b639db4917c2706ae7bb (diff)
downloadchromium_src-6f7c83b276431b5473bd064e4eb315d60e17744f.zip
chromium_src-6f7c83b276431b5473bd064e4eb315d60e17744f.tar.gz
chromium_src-6f7c83b276431b5473bd064e4eb315d60e17744f.tar.bz2
Clean up unused param in RegistryOverrideManager
This param has been unused since http://crrev.com/234367 and makes the method confusing. BUG=314800 Review URL: https://codereview.chromium.org/575253002 Cr-Commit-Position: refs/heads/master@{#295400}
Diffstat (limited to 'chrome_elf')
-rw-r--r--chrome_elf/blacklist/test/blacklist_test.cc2
-rw-r--r--chrome_elf/chrome_elf_util_unittest.cc6
2 files changed, 3 insertions, 5 deletions
diff --git a/chrome_elf/blacklist/test/blacklist_test.cc b/chrome_elf/blacklist/test/blacklist_test.cc
index 22edf6e..ef715d3 100644
--- a/chrome_elf/blacklist/test/blacklist_test.cc
+++ b/chrome_elf/blacklist/test/blacklist_test.cc
@@ -47,7 +47,7 @@ namespace {
class BlacklistTest : public testing::Test {
protected:
BlacklistTest() : override_manager_() {
- override_manager_.OverrideRegistry(HKEY_CURRENT_USER, L"beacon_test");
+ override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
}
scoped_ptr<base::win::RegKey> blacklist_registry_key_;
diff --git a/chrome_elf/chrome_elf_util_unittest.cc b/chrome_elf/chrome_elf_util_unittest.cc
index 1cb6488..be8b683 100644
--- a/chrome_elf/chrome_elf_util_unittest.cc
+++ b/chrome_elf/chrome_elf_util_unittest.cc
@@ -58,10 +58,8 @@ class ChromeElfUtilTest :
const char*> > {
protected:
virtual void SetUp() OVERRIDE {
- override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE,
- L"chrome_elf_test_local");
- override_manager_.OverrideRegistry(HKEY_CURRENT_USER,
- L"chrome_elf_test_current");
+ override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE);
+ override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
const char* app;
const char* level;
const char* mode;