diff options
Diffstat (limited to 'chrome/browser/notifications/desktop_notification_service_unittest.cc')
-rw-r--r-- | chrome/browser/notifications/desktop_notification_service_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/notifications/desktop_notification_service_unittest.cc b/chrome/browser/notifications/desktop_notification_service_unittest.cc index 84d1b06..e777dc3 100644 --- a/chrome/browser/notifications/desktop_notification_service_unittest.cc +++ b/chrome/browser/notifications/desktop_notification_service_unittest.cc @@ -9,9 +9,9 @@ #include "base/synchronization/waitable_event.h" #include "chrome/browser/content_settings/host_content_settings_map.h" #include "chrome/browser/notifications/desktop_notification_service_factory.h" +#include "chrome/test/base/chrome_render_view_host_test_harness.h" #include "chrome/test/base/testing_profile.h" #include "content/browser/browser_thread.h" -#include "content/browser/renderer_host/test_render_view_host.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresenter.h" @@ -93,13 +93,13 @@ class ThreadProxy : public base::RefCountedThreadSafe<ThreadProxy> { } // namespace -class DesktopNotificationServiceTest : public RenderViewHostTestHarness { +class DesktopNotificationServiceTest : public ChromeRenderViewHostTestHarness { public: DesktopNotificationServiceTest() { } virtual void SetUp() { - RenderViewHostTestHarness::SetUp(); + ChromeRenderViewHostTestHarness::SetUp(); proxy_ = new ThreadProxy; proxy_->PauseIOThread(); @@ -111,7 +111,7 @@ class DesktopNotificationServiceTest : public RenderViewHostTestHarness { // The io thread's waiting on the io_event_ might hold a ref to |proxy_|, // preventing its destruction. Clear that ref. proxy_->DrainIOThread(); - RenderViewHostTestHarness::TearDown(); + ChromeRenderViewHostTestHarness::TearDown(); } DesktopNotificationService* service_; |