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

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: Rearranged structures for greater consistency. Created 9 years, 1 month 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 ed202030ce1bce91f6153aad5e5f03e23b8ee619..b423be83c093cbb1c4f032d3fda3bec1a5606dee 100644
--- a/content/browser/download/mock_download_file.h
+++ b/content/browser/download/mock_download_file.h
@@ -74,6 +74,8 @@ class MockDownloadFile : virtual public DownloadFile {
virtual bool InProgress() const OVERRIDE;
virtual int64 BytesSoFar() const OVERRIDE;
virtual bool GetSha256Hash(std::string* hash) OVERRIDE;
+ virtual std::string GetSha256HashState() OVERRIDE;
+ virtual bool SetSha256HashState(const std::string& hash_state) OVERRIDE;
virtual void CancelDownloadRequest() OVERRIDE;
virtual int Id() const OVERRIDE;
virtual DownloadManager* GetDownloadManager() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698