| Index: chrome/browser/download/download_request_limiter_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/download/download_request_limiter_unittest.cc (revision 85514)
|
| +++ chrome/browser/download/download_request_limiter_unittest.cc (working copy)
|
| @@ -1,23 +1,23 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2006-2008 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 TabContentsWrapperTestHarness,
|
| + : public RenderViewHostTestHarness,
|
| public DownloadRequestLimiter::Callback {
|
| public:
|
| DownloadRequestLimiterTest() : io_thread_(BrowserThread::IO, &message_loop_) {
|
| }
|
|
|
| virtual void SetUp() {
|
| - TabContentsWrapperTestHarness::SetUp();
|
| + RenderViewHostTestHarness::SetUp();
|
|
|
| allow_download_ = true;
|
| ask_allow_count_ = cancel_count_ = continue_count_ = 0;
|
| @@ -30,7 +30,7 @@
|
| virtual void TearDown() {
|
| DownloadRequestLimiter::SetTestingDelegate(NULL);
|
|
|
| - TabContentsWrapperTestHarness::TearDown();
|
| + RenderViewHostTestHarness::TearDown();
|
| }
|
|
|
| virtual void ContinueDownload() {
|
|
|