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

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: Fixed try job problems. Created 8 years, 5 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
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 0f50d610bd12086bb4e0a1bd5a8309cdfef86d9c..6472a355a3450462715fa1ea057275cc412873db 100644
--- a/content/public/test/mock_download_manager.h
+++ b/content/public/test/mock_download_manager.h
@@ -41,17 +41,7 @@ class MockDownloadManager : public content::DownloadManager {
MOCK_METHOD2(MockStartDownload,
content::DownloadId(DownloadCreateInfo*,
content::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,
- content::DownloadInterruptReason reason));
MOCK_METHOD2(RemoveDownloadsBetween, int(base::Time remove_begin,
base::Time remove_end));
MOCK_METHOD1(RemoveDownloads, int(base::Time remove_begin));
@@ -82,7 +72,6 @@ class MockDownloadManager : public content::DownloadManager {
MOCK_METHOD2(ContinueDownloadWithPath, void(content::DownloadItem* download,
const FilePath& chosen_file));
MOCK_METHOD1(GetActiveDownload, content::DownloadItem*(int32 download_id));
- MOCK_METHOD1(SetFileManager, void(DownloadFileManager* file_manager));
protected:
virtual ~MockDownloadManager();

Powered by Google App Engine
This is Rietveld 408576698