blob: d3c9ffcc2e0c36826f7747f42de9692b11f3a2cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2012 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 "content/public/test/mock_download_manager.h"
#include "content/browser/download/byte_stream.h"
#include "content/browser/download/download_create_info.h"
void PrintTo(const DownloadRequestHandle& params, std::ostream* os) {
}
namespace content {
MockDownloadManager::MockDownloadManager() {}
MockDownloadManager::~MockDownloadManager() {}
content::DownloadItem* MockDownloadManager::StartDownload(
scoped_ptr<DownloadCreateInfo> info,
scoped_ptr<content::ByteStreamReader> stream) {
return MockStartDownload(info.get(), stream.get());
}
} // namespace content
|