Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6531)

Unified Diff: chrome/browser/download/download_request_limiter_unittest.cc

Issue 7374008: Move download stuff from download helper back to TabContents. This is basically a revert of r8576... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/download/download_request_limiter_unittest.cc
===================================================================
--- chrome/browser/download/download_request_limiter_unittest.cc (revision 92561)
+++ chrome/browser/download/download_request_limiter_unittest.cc (working copy)
@@ -3,15 +3,15 @@
// 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 "content/browser/tab_contents/test_tab_contents.h"
#include "testing/gtest/include/gtest/gtest.h"
class DownloadRequestLimiterTest
- : public TabContentsWrapperTestHarness,
+ : public RenderViewHostTestHarness,
public DownloadRequestLimiter::Callback {
public:
DownloadRequestLimiterTest()
@@ -20,7 +20,7 @@
}
virtual void SetUp() {
- TabContentsWrapperTestHarness::SetUp();
+ RenderViewHostTestHarness::SetUp();
allow_download_ = true;
ask_allow_count_ = cancel_count_ = continue_count_ = 0;
@@ -33,7 +33,7 @@
virtual void TearDown() {
DownloadRequestLimiter::SetTestingDelegate(NULL);
- TabContentsWrapperTestHarness::TearDown();
+ RenderViewHostTestHarness::TearDown();
}
virtual void ContinueDownload() {

Powered by Google App Engine
This is Rietveld 408576698