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

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

Issue 10912173: Replace the DownloadFileManager with direct ownership of DownloadFileImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to LKGR (r162700) Created 8 years, 2 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 aff89ecade3f3f858e3208582e1254de7fbbb8ce..a80012015f2dccff5cdfa4a573f82c9fe690aa52 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -35,17 +35,7 @@ class MockDownloadManager : public DownloadManager {
MOCK_METHOD2(MockStartDownload,
DownloadItem*(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));
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