Index: chrome_frame/test/perf/chrome_frame_perftest.cc |
=================================================================== |
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 62848) |
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy) |
@@ -17,7 +17,6 @@ |
#include "base/file_util.h" |
#include "base/path_service.h" |
#include "base/process_util.h" |
-#include "base/registry.h" |
#include "base/scoped_ptr.h" |
#include "base/scoped_bstr_win.h" |
#include "base/scoped_comptr_win.h" |
@@ -27,6 +26,7 @@ |
#include "base/time.h" |
#include "base/trace_event_win.h" |
#include "base/utf_string_conversions.h" |
+#include "base/win/registry.h" |
#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_paths_internal.h" |
@@ -1092,7 +1092,7 @@ |
// from the cache. This could also fail if the Flash control is in use. |
// On Vista this could fail because of UAC |
TEST_F(FlashCreationTest, PerfCold) { |
- RegKey flash_key(HKEY_CLASSES_ROOT, kFlashControlKey, KEY_READ); |
+ base::win::RegKey flash_key(HKEY_CLASSES_ROOT, kFlashControlKey, KEY_READ); |
std::wstring plugin_path; |
ASSERT_TRUE(flash_key.ReadValue(L"", &plugin_path)); |
@@ -1112,7 +1112,8 @@ |
// correctly causing the attempt to evict the dll from the system cache to |
// fail. |
TEST_F(SilverlightCreationTest, DISABLED_PerfCold) { |
- RegKey silverlight_key(HKEY_CLASSES_ROOT, kSilverlightControlKey, KEY_READ); |
+ base::win::RegKey silverlight_key(HKEY_CLASSES_ROOT, kSilverlightControlKey, |
+ KEY_READ); |
std::wstring plugin_path; |
ASSERT_TRUE(silverlight_key.ReadValue(L"", &plugin_path)); |