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

Unified Diff: content/public/test/mock_download_manager.cc

Issue 23496076: WIP - Refactor programmatic downloads Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « content/public/test/mock_download_manager.h ('k') | net/tools/testserver/testserver.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_download_manager.cc
diff --git a/content/public/test/mock_download_manager.cc b/content/public/test/mock_download_manager.cc
index ef5a9f5e7c16d06ad5d3ce6dc808a95b47f53401..3634bf165d654530155a7b3697632438d8cb5f86 100644
--- a/content/public/test/mock_download_manager.cc
+++ b/content/public/test/mock_download_manager.cc
@@ -82,11 +82,10 @@ MockDownloadManager::MockDownloadManager() {}
MockDownloadManager::~MockDownloadManager() {}
-void MockDownloadManager::StartDownload(
- scoped_ptr<DownloadCreateInfo> info,
- scoped_ptr<ByteStreamReader> stream,
- const DownloadUrlParameters::OnStartedCallback& callback) {
- MockStartDownload(info.get(), stream.get());
+void MockDownloadManager::StartDownloadWithActiveRequest(
+ scoped_ptr<DownloadRequestHandle> request_handle,
+ scoped_ptr<DownloadCreateInfo> info) {
+ MockStartDownload(request_handle.get(), info.get());
}
DownloadItem* MockDownloadManager::CreateDownloadItem(
« no previous file with comments | « content/public/test/mock_download_manager.h ('k') | net/tools/testserver/testserver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698