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

Unified Diff: content/browser/download/mock_download_file.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
Index: content/browser/download/mock_download_file.h
diff --git a/content/browser/download/mock_download_file.h b/content/browser/download/mock_download_file.h
index 34bcb54c9d608b720ef5c10f566bbb7988324759..9fb83bd321430eeeb15a9c334e6bee1c79f0897b 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -24,7 +24,7 @@ class MockDownloadFile : virtual public content::DownloadFile {
virtual ~MockDownloadFile();
// DownloadFile functions.
- MOCK_METHOD0(Initialize, content::DownloadInterruptReason());
+ MOCK_METHOD1(Initialize, void(const InitializeCallback&));
MOCK_METHOD2(AppendDataToFile, content::DownloadInterruptReason(
const char* data, size_t data_len));
MOCK_METHOD1(Rename, content::DownloadInterruptReason(
@@ -42,7 +42,6 @@ class MockDownloadFile : virtual public content::DownloadFile {
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