Index: chrome/installer/util/product_unittest.h |
=================================================================== |
--- chrome/installer/util/product_unittest.h (revision 98031) |
+++ chrome/installer/util/product_unittest.h (working copy) |
@@ -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 @@ |
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_ |