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

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

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 9 years 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/browser/download/download_types.cc ('k') | content/browser/download/mock_download_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f89643c468fb80fb71eed6df10b2ae8963ab1469..4a2a5ef4438f15d4722a67abef4b88ec9ffbd952 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -62,7 +62,7 @@ class MockDownloadFile : virtual public content::DownloadFile {
virtual ~MockDownloadFile();
// DownloadFile functions.
- virtual net::Error Initialize(bool calculate_hash) OVERRIDE;
+ virtual net::Error Initialize() OVERRIDE;
virtual net::Error AppendDataToFile(const char* data,
size_t data_len) OVERRIDE;
virtual net::Error Rename(const FilePath& full_path) OVERRIDE;
@@ -74,7 +74,8 @@ class MockDownloadFile : virtual public content::DownloadFile {
virtual bool InProgress() const OVERRIDE;
virtual int64 BytesSoFar() const OVERRIDE;
virtual int64 CurrentSpeed() const OVERRIDE;
- virtual bool GetSha256Hash(std::string* hash) OVERRIDE;
+ virtual bool GetHash(std::string* hash) OVERRIDE;
+ virtual std::string GetHashState() OVERRIDE;
virtual void CancelDownloadRequest() OVERRIDE;
virtual int Id() const OVERRIDE;
virtual content::DownloadManager* GetDownloadManager() OVERRIDE;
« no previous file with comments | « content/browser/download/download_types.cc ('k') | content/browser/download/mock_download_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698