| Index: content/browser/download/download_manager.h
|
| diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
|
| index 55225493c0b2d123d22ce968d4d2e04bd77e8cad..4db6c362d4c4a60aeb6b1d220f7d5d79d7d07188 100644
|
| --- a/content/browser/download/download_manager.h
|
| +++ b/content/browser/download/download_manager.h
|
| @@ -105,7 +105,9 @@ class CONTENT_EXPORT DownloadManager
|
|
|
| // Notifications sent from the download thread to the UI thread
|
| virtual void StartDownload(int32 id) = 0;
|
| - virtual void UpdateDownload(int32 download_id, int64 size) = 0;
|
| + virtual void UpdateDownload(int32 download_id,
|
| + int64 size,
|
| + std::string hash_state) = 0;
|
|
|
| // |download_id| is the ID of the download.
|
| // |size| is the number of bytes that have been downloaded.
|
| @@ -121,9 +123,13 @@ class CONTENT_EXPORT DownloadManager
|
| // Called when there is an error in the download.
|
| // |download_id| is the ID of the download.
|
| // |size| is the number of bytes that are currently downloaded.
|
| + // |hash_state| is the current state of the hash of the data that has been
|
| + // downloaded.
|
| // |reason| is a download interrupt reason code.
|
| - virtual void OnDownloadInterrupted(int32 download_id, int64 size,
|
| - InterruptReason reason) = 0;
|
| + virtual void OnDownloadInterrupted(int32 download_id,
|
| + int64 size,
|
| + std::string hash_state,
|
| + InterruptReason reason) = 0;
|
|
|
| // Called from DownloadItem to handle the DownloadManager portion of a
|
| // Cancel; should not be called from other locations.
|
|
|