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

Unified Diff: chrome/installer/util/google_update_settings_unittest.cc

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 | « chrome/installer/setup/setup_util_unittest.cc ('k') | chrome/installer/util/install_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/google_update_settings_unittest.cc
diff --git a/chrome/installer/util/google_update_settings_unittest.cc b/chrome/installer/util/google_update_settings_unittest.cc
index 51e896b372bbf685dc4b1954ac0cae9c48990ad3..2069bf2c12240851bb33b940842f37c21728d11a 100644
--- a/chrome/installer/util/google_update_settings_unittest.cc
+++ b/chrome/installer/util/google_update_settings_unittest.cc
@@ -35,8 +35,8 @@ const wchar_t kTestExperimentLabel[] = L"test_label_value";
class GoogleUpdateSettingsTest : public testing::Test {
protected:
virtual void SetUp() OVERRIDE {
- registry_overrides_.OverrideRegistry(HKEY_LOCAL_MACHINE, L"HKLM_pit");
- registry_overrides_.OverrideRegistry(HKEY_CURRENT_USER, L"HKCU_pit");
+ registry_overrides_.OverrideRegistry(HKEY_LOCAL_MACHINE);
+ registry_overrides_.OverrideRegistry(HKEY_CURRENT_USER);
}
enum SystemUserInstall {
@@ -1084,7 +1084,7 @@ void CollectStatsConsent::SetUp() {
base::string16 reg_temp_name(
stats_state.system_level() ? L"HKLM_" : L"HKCU_");
reg_temp_name += L"CollectStatsConsent";
- override_manager_.OverrideRegistry(root_key, reg_temp_name);
+ override_manager_.OverrideRegistry(root_key);
if (stats_state.multi_install()) {
MakeChromeMultiInstall(root_key);
« no previous file with comments | « chrome/installer/setup/setup_util_unittest.cc ('k') | chrome/installer/util/install_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698