| Index: content/browser/download/download_manager.h
|
| diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
|
| index d727798638fe6d6ae339dc9b95efb26036529c7b..2e484ce6a411f61b00926a40d31f44907234c566 100644
|
| --- a/content/browser/download/download_manager.h
|
| +++ b/content/browser/download/download_manager.h
|
| @@ -134,7 +134,8 @@ class CONTENT_EXPORT DownloadManager
|
|
|
| // Notifications sent from the download thread to the UI thread
|
| void StartDownload(int32 id);
|
| - void UpdateDownload(int32 download_id, int64 size);
|
| + void UpdateDownload(int32 download_id, int64 size,
|
| + const std::string& partial_hash);
|
|
|
| // |download_id| is the ID of the download.
|
| // |size| is the number of bytes that have been downloaded.
|
| @@ -150,8 +151,10 @@ 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.
|
| + // |partial_hash| is the current hash of the data that has been downloaded.
|
| // |reason| is a download interrupt reason code.
|
| void OnDownloadInterrupted(int32 download_id, int64 size,
|
| + const std::string partial_hash,
|
| InterruptReason reason);
|
|
|
| // Called from DownloadItem to handle the DownloadManager portion of a
|
| @@ -362,7 +365,7 @@ class CONTENT_EXPORT DownloadManager
|
| // Called when a download entry is committed to the persistent store.
|
| void OnDownloadItemAddedToPersistentStore(int32 download_id, int64 db_handle);
|
|
|
| - // Called when Save Page As entry is commited to the persistent store.
|
| + // Called when Save Page As entry is committed to the persistent store.
|
| void OnSavePageItemAddedToPersistentStore(int32 download_id, int64 db_handle);
|
|
|
| // |downloads_| is the owning set for all downloads known to the
|
|
|