summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/product_unittest.h
diff options
context:
space:
mode:
authorrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 20:02:42 +0000
committerrogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-24 20:02:42 +0000
commita8f8588a7a24c9a0603e28fd67ea463b542a72ac (patch)
tree5130701e6d083f1f2b742fd155522ebd970ee331 /chrome/installer/util/product_unittest.h
parent96de7910f611a4640bc9ade33abf981b6661680d (diff)
downloadchromium_src-a8f8588a7a24c9a0603e28fd67ea463b542a72ac.zip
chromium_src-a8f8588a7a24c9a0603e28fd67ea463b542a72ac.tar.gz
chromium_src-a8f8588a7a24c9a0603e28fd67ea463b542a72ac.tar.bz2
Tommi: I need an owner review for the chrome frame changes.
Moving the test helper class TempRegKeyOverride since I need to do something similar in some new RLZ tests, and I don't want to duplicate the code. Please suggest a better namespace name if needed, I was just following the same pattern found in test_file_util in the same directory. BUG=None TEST=No new tests, just refactoring test helpers Review URL: http://codereview.chromium.org/7669061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/product_unittest.h')
-rw-r--r--chrome/installer/util/product_unittest.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/chrome/installer/util/product_unittest.h b/chrome/installer/util/product_unittest.h
index 8635fc8..a48c9b7 100644
--- a/chrome/installer/util/product_unittest.h
+++ b/chrome/installer/util/product_unittest.h
@@ -12,7 +12,6 @@
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/scoped_temp_dir.h"
-#include "base/win/registry.h"
#include "testing/gtest/include/gtest/gtest.h"
class TestWithTempDir : public testing::Test {
@@ -29,21 +28,4 @@ class TestWithTempDirAndDeleteTempOverrideKeys : public TestWithTempDir {
virtual void TearDown();
};
-// TODO(tommi): This is "borrowed" from Chrome Frame test code. It should be
-// moved to some common test utility file.
-class TempRegKeyOverride {
- public:
- static const wchar_t kTempTestKeyPath[];
-
- TempRegKeyOverride(HKEY override, const wchar_t* temp_name);
- ~TempRegKeyOverride();
-
- static void DeleteAllTempKeys();
-
- protected:
- HKEY override_;
- base::win::RegKey temp_key_;
- std::wstring temp_name_;
-};
-
#endif // CHROME_INSTALLER_UTIL_PRODUCT_UNITTEST_H_