OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | |
6 #define CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/download/download_manager.h" | |
10 | |
11 class DownloadStatusUpdater; | |
12 class DownloadItem; | |
13 | |
14 class MockDownloadManager : public DownloadManager { | |
15 public: | |
16 explicit MockDownloadManager(DownloadManagerDelegate* delegate, | |
17 DownloadStatusUpdater* updater) | |
18 : DownloadManager(delegate, updater) { | |
19 } | |
20 | |
21 // Override some functions. | |
22 virtual void UpdateHistoryForDownload(DownloadItem*) { } | |
23 }; | |
24 | |
25 #endif // CHROME_BROWSER_DOWNLOAD_MOCK_DOWNLOAD_MANAGER_H_ | |
OLD | NEW |