Index: chrome/browser/notifications/desktop_notification_service_unittest.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service_unittest.cc b/chrome/browser/notifications/desktop_notification_service_unittest.cc |
index 84d1b06d5930e6540a12bd56917050eb028448e0..e777dc32954cfcb86329a8c49089de7597d7131e 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_; |