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

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

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DownloadSaveInfo::offset is now int64. 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/download_manager_impl.h
diff --git a/content/browser/download/download_manager_impl.h b/content/browser/download/download_manager_impl.h
index d020c553a886a3c8a528f48c6070e261ae72d385..1f7d832af08257aacc2faa563c86d2b2e08474f5 100644
--- a/content/browser/download/download_manager_impl.h
+++ b/content/browser/download/download_manager_impl.h
@@ -42,11 +42,15 @@ class CONTENT_EXPORT DownloadManagerImpl
DownloadVector* result) OVERRIDE;
virtual bool Init(content::BrowserContext* browser_context) OVERRIDE;
virtual void StartDownload(int32 id) OVERRIDE;
- virtual void UpdateDownload(int32 download_id, int64 size) OVERRIDE;
+ virtual void UpdateDownload(int32 download_id,
+ int64 size,
+ 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 DownloadCancelledInternal(DownloadItem* download) OVERRIDE;
virtual void RemoveDownload(int64 download_handle) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698