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

Unified Diff: chrome/installer/gcapi/gcapi_reactivation_test.cc

Issue 57423008: Base: Make RegistryOverrideManager support sharded/parallel tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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_reactivation_test.cc
diff --git a/chrome/installer/gcapi/gcapi_reactivation_test.cc b/chrome/installer/gcapi/gcapi_reactivation_test.cc
index 92987a202791b2b2d9f762476420ac6bd5049c95..0679f3f8cbc6a9920ff9fe549b390ba69cb0ceca 100644
--- a/chrome/installer/gcapi/gcapi_reactivation_test.cc
+++ b/chrome/installer/gcapi/gcapi_reactivation_test.cc
@@ -26,12 +26,8 @@ class GCAPIReactivationTest : public ::testing::Test {
protected:
void SetUp() {
grt (UTC plus 2) 2013/11/07 02:39:33 while you're here: virtual void SetUp() OVERRIDE
tommycli 2013/11/07 18:02:07 Done.
// Override keys - this is undone during destruction.
- std::wstring hkcu_override = base::StringPrintf(
- L"hkcu_override\\%ls", ASCIIToWide(base::GenerateGUID()));
- override_manager_.OverrideRegistry(HKEY_CURRENT_USER, hkcu_override);
- std::wstring hklm_override = base::StringPrintf(
- L"hklm_override\\%ls", ASCIIToWide(base::GenerateGUID()));
- override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE, hklm_override);
+ override_manager_.OverrideRegistry(HKEY_CURRENT_USER, L"hkcu_override");
+ override_manager_.OverrideRegistry(HKEY_LOCAL_MACHINE, L"hklm_override");
}
bool SetChromeInstallMarker(HKEY hive) {

Powered by Google App Engine
This is Rietveld 408576698