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

Unified Diff: chrome/installer/gcapi/gcapi_last_run_test.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
Index: chrome/installer/gcapi/gcapi_last_run_test.cc
diff --git a/chrome/installer/gcapi/gcapi_last_run_test.cc b/chrome/installer/gcapi/gcapi_last_run_test.cc
index 9dbd706efa4abea3abb7000b6e8ab31b97259c97..85e7eed908e0cb18095e9868a60608fc18ce130b 100644
--- a/chrome/installer/gcapi/gcapi_last_run_test.cc
+++ b/chrome/installer/gcapi/gcapi_last_run_test.cc
@@ -26,9 +26,7 @@ class GCAPILastRunTest : public ::testing::Test {
protected:
void SetUp() {
// Override keys - this is undone during destruction.
- std::wstring hkcu_override = base::StringPrintf(
- L"hkcu_override\\%ls", base::ASCIIToWide(base::GenerateGUID()).c_str());
- override_manager_.OverrideRegistry(HKEY_CURRENT_USER, hkcu_override);
+ override_manager_.OverrideRegistry(HKEY_CURRENT_USER);
// Create the client state key in the right places.
std::wstring reg_path(google_update::kRegPathClientState);

Powered by Google App Engine
This is Rietveld 408576698