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

Unified Diff: content/browser/download/mock_download_manager.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_manager.h
diff --git a/content/browser/download/mock_download_manager.h b/content/browser/download/mock_download_manager.h
index 4608d71e563e7a5a7057fc4fb788881bdd71e385..2ae11c307b269aa5e7fa13c8d9e0ffc4a5cc15c8 100644
--- a/content/browser/download/mock_download_manager.h
+++ b/content/browser/download/mock_download_manager.h
@@ -32,12 +32,16 @@ class MockDownloadManager
DownloadVector* result) OVERRIDE;
virtual bool Init(content::BrowserContext* browser_context) OVERRIDE;
virtual void StartDownload(int32 id) OVERRIDE;
- virtual void UpdateDownload(int32 download_id, int64 bytes_so_far,
- int64 bytes_per_sec) OVERRIDE;
+ virtual void UpdateDownload(int32 download_id,
+ int64 bytes_so_far,
+ int64 bytes_per_sec,
+ std::string hash_state) OVERRIDE;
virtual void OnResponseCompleted(int32 download_id, int64 size,
const std::string& hash) OVERRIDE;
virtual void CancelDownload(int32 download_id) OVERRIDE;
- virtual void OnDownloadInterrupted(int32 download_id, int64 size,
+ virtual void OnDownloadInterrupted(int32 download_id,
+ int64 size,
+ std::string hash_state,
InterruptReason reason) OVERRIDE;
virtual void OnDownloadRenamedToFinalName(int download_id,
const FilePath& full_path,

Powered by Google App Engine
This is Rietveld 408576698