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

Unified Diff: rlz/test/rlz_test_helpers.h

Issue 63153009: Use RegistryOverrideManager properly in RLZ tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment fix 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
« no previous file with comments | « rlz/rlz.gyp ('k') | rlz/test/rlz_test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/test/rlz_test_helpers.h
diff --git a/rlz/test/rlz_test_helpers.h b/rlz/test/rlz_test_helpers.h
index a78764fcd271e6a7abe91265ef1d8abf42350d0a..ec067feeca6533891b502f5e7393fb67cf7ac752 100644
--- a/rlz/test/rlz_test_helpers.h
+++ b/rlz/test/rlz_test_helpers.h
@@ -14,20 +14,27 @@
#include "base/files/scoped_temp_dir.h"
#endif
+#if defined(OS_WIN)
+#include "base/test/test_reg_util_win.h"
+#endif
+
class RlzLibTestNoMachineState : public ::testing::Test {
protected:
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
-
#if defined(OS_POSIX)
- base::ScopedTempDir temp_dir_;
+ base::ScopedTempDir temp_dir_;
+#endif
+
+#if defined(OS_WIN)
+ registry_util::RegistryOverrideManager override_manager_;
#endif
};
class RlzLibTestBase : public RlzLibTestNoMachineState {
+ protected:
virtual void SetUp() OVERRIDE;
};
-
#endif // RLZ_TEST_RLZ_TEST_HELPERS_H
« no previous file with comments | « rlz/rlz.gyp ('k') | rlz/test/rlz_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698