Chromium Code Reviews| Index: content/public/test/mock_download_manager.h |
| diff --git a/content/public/test/mock_download_manager.h b/content/public/test/mock_download_manager.h |
| index dd009dd12022c9e040b49d64016f6d625d799e9c..11e6871017709d87270c3e2079b76e41c2ca2d6f 100644 |
| --- a/content/public/test/mock_download_manager.h |
| +++ b/content/public/test/mock_download_manager.h |
| @@ -62,8 +62,16 @@ class MockDownloadManager : public DownloadManager { |
| } |
| MOCK_METHOD1(AddObserver, void(Observer* observer)); |
| MOCK_METHOD1(RemoveObserver, void(Observer* observer)); |
| - MOCK_METHOD1(OnPersistentStoreQueryComplete, void( |
| - std::vector<DownloadPersistentStoreInfo>* entries)); |
| + MOCK_METHOD9(CreateDownloadItem, DownloadItem*( |
| + const FilePath& path, |
| + const GURL& url, |
| + const GURL& referrer_url, |
| + const base::Time& start_tiem, |
| + const base::Time& end_time, |
| + int64 received_bytes, |
| + int64 total_bytes, |
| + DownloadItem::DownloadState state, |
| + bool opened)); |
| MOCK_METHOD2(OnItemAddedToPersistentStore, void(int32 download_id, |
|
Randy Smith (Not in Mondays)
2012/08/28 13:11:49
Shouldn't this be removed too?
|
| int64 db_handle)); |
| MOCK_CONST_METHOD0(InProgressCount, int()); |