Index: chrome/browser/download/download_request_limiter_unittest.cc |
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc |
index d4422d193691e73ca503ea5ae7cefad50e923695..9cdb3c34ddc3ea66e762347f3b7d569d41dde5c4 100644 |
--- a/chrome/browser/download/download_request_limiter_unittest.cc |
+++ b/chrome/browser/download/download_request_limiter_unittest.cc |
@@ -1,23 +1,23 @@ |
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
#include "chrome/browser/download/download_request_limiter.h" |
+#include "chrome/browser/ui/tab_contents/test_tab_contents_wrapper.h" |
#include "chrome/test/testing_profile.h" |
#include "content/browser/browser_thread.h" |
-#include "content/browser/renderer_host/test_render_view_host.h" |
#include "content/browser/tab_contents/navigation_controller.h" |
#include "testing/gtest/include/gtest/gtest.h" |
class DownloadRequestLimiterTest |
- : public RenderViewHostTestHarness, |
+ : public TabContentsWrapperTestHarness, |
public DownloadRequestLimiter::Callback { |
public: |
DownloadRequestLimiterTest() : io_thread_(BrowserThread::IO, &message_loop_) { |
} |
virtual void SetUp() { |
- RenderViewHostTestHarness::SetUp(); |
+ TabContentsWrapperTestHarness::SetUp(); |
allow_download_ = true; |
ask_allow_count_ = cancel_count_ = continue_count_ = 0; |
@@ -30,7 +30,7 @@ class DownloadRequestLimiterTest |
virtual void TearDown() { |
DownloadRequestLimiter::SetTestingDelegate(NULL); |
- RenderViewHostTestHarness::TearDown(); |
+ TabContentsWrapperTestHarness::TearDown(); |
} |
virtual void ContinueDownload() { |