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

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

Issue 10799005: Replace the DownloadFileManager with direct ownership (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged to LKGR. Created 8 years, 4 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/browser/download_manager.h ('k') | content/public/test/test_file_error_injector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0e3a1abde25a1cfd485dde3cd4248c8093e8d973 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -39,19 +39,9 @@ class MockDownloadManager : public DownloadManager {
scoped_ptr<ByteStreamReader> stream) OVERRIDE;
MOCK_METHOD2(MockStartDownload,
- DownloadId(DownloadCreateInfo*,
- ByteStreamReader*));
- MOCK_METHOD4(UpdateDownload, void(int32 download_id,
- int64 bytes_so_far,
- int64 bytes_per_sec,
- const std::string& hash_state));
- MOCK_METHOD3(OnResponseCompleted, void(int32 download_id,
- int64 size,
- const std::string& hash));
+ content::DownloadId(DownloadCreateInfo*,
+ ByteStreamReader*));
MOCK_METHOD1(CancelDownload, void(int32 download_id));
- MOCK_METHOD2(OnDownloadInterrupted,
- void(int32 download_id,
- DownloadInterruptReason reason));
MOCK_METHOD2(RemoveDownloadsBetween, int(base::Time remove_begin,
base::Time remove_end));
MOCK_METHOD1(RemoveDownloads, int(base::Time remove_begin));
« no previous file with comments | « content/public/browser/download_manager.h ('k') | content/public/test/test_file_error_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698