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

Unified Diff: content/browser/download/mock_download_file.h

Issue 10861002: Revert 152213 - Replace the DownloadFileManager with direct ownership of DownloadFile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
Index: content/browser/download/mock_download_file.h
===================================================================
--- content/browser/download/mock_download_file.h (revision 152281)
+++ content/browser/download/mock_download_file.h (working copy)
@@ -24,7 +24,7 @@
virtual ~MockDownloadFile();
// DownloadFile functions.
- MOCK_METHOD1(Initialize, void(const InitializeCallback&));
+ MOCK_METHOD0(Initialize, content::DownloadInterruptReason());
MOCK_METHOD2(AppendDataToFile, content::DownloadInterruptReason(
const char* data, size_t data_len));
MOCK_METHOD1(Rename, content::DownloadInterruptReason(
@@ -42,6 +42,7 @@
MOCK_CONST_METHOD0(CurrentSpeed, int64());
MOCK_METHOD1(GetHash, bool(std::string* hash));
MOCK_METHOD0(GetHashState, std::string());
+ MOCK_METHOD0(CancelDownloadRequest, void());
MOCK_METHOD0(SendUpdate, void());
MOCK_CONST_METHOD0(Id, int());
MOCK_METHOD0(GetDownloadManager, content::DownloadManager*());
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/download/mock_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698