Chromium Code Reviews| Index: chrome_frame/test/urlmon_moniker_unittest.cc |
| =================================================================== |
| --- chrome_frame/test/urlmon_moniker_unittest.cc (revision 68618) |
| +++ chrome_frame/test/urlmon_moniker_unittest.cc (working copy) |
| @@ -9,8 +9,10 @@ |
| #include "base/path_service.h" |
| #include "base/scoped_comptr_win.h" |
| #include "chrome_frame/urlmon_bind_status_callback.h" |
| +#include "chrome_frame/test/chrome_frame_test_utils.h" |
| #include "chrome_frame/test/urlmon_moniker_tests.h" |
| +using chrome_frame_test::ScopedVirtualizeHklmAndHkcu; |
| using testing::Return; |
| using testing::Eq; |
| @@ -20,6 +22,7 @@ |
| } |
| virtual void SetUp() { |
| + DeleteAllSingletons(); |
|
amit
2010/12/08 23:40:35
It safe now to delete the moniker patch code along
|
| PathService::Get(base::DIR_SOURCE_ROOT, &test_file_path_); |
| test_file_path_ = test_file_path_.Append(FILE_PATH_LITERAL("chrome_frame")) |
| .Append(FILE_PATH_LITERAL("test")) |
| @@ -58,6 +61,7 @@ |
| } |
| FilePath test_file_path_; |
| + ScopedVirtualizeHklmAndHkcu virtualized_registry_; |
| }; |
| // Tests the CacheStream class by writing content into a stream object |