OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "content/public/test/mock_download_manager.h" | |
6 | |
7 #include "content/browser/download/byte_stream.h" | |
8 #include "content/browser/download/download_create_info.h" | |
9 | |
10 void PrintTo(const DownloadRequestHandle& params, std::ostream* os) { | |
11 } | |
12 | |
13 namespace content { | |
14 | |
15 MockDownloadManager::MockDownloadManager() {} | |
16 | |
17 MockDownloadManager::~MockDownloadManager() {} | |
18 | |
19 content::DownloadId MockDownloadManager::StartDownload( | |
20 scoped_ptr<DownloadCreateInfo> info, | |
21 scoped_ptr<content::ByteStreamReader> stream) { | |
22 return MockStartDownload(info.get(), stream.get()); | |
23 } | |
24 | |
25 } // namespace content | |
OLD | NEW |