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

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: Updated comment. 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
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 af690bb4d7e45a725c7584288c5b2b92c10ab804..fcb156814f3e22b3d10831a77c4f31279e65e3b1 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 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 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 DownloadManager* GetDownloadManager() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698