| Index: content/browser/download/download_manager.h
|
| diff --git a/content/browser/download/download_manager.h b/content/browser/download/download_manager.h
|
| index 3bbd4a753924e6f0dd5c45bef5e4bbce1631f2f5..7e3c6268a21afa888be59dd30c2978281546d23f 100644
|
| --- a/content/browser/download/download_manager.h
|
| +++ b/content/browser/download/download_manager.h
|
| @@ -116,9 +116,10 @@ class CONTENT_EXPORT DownloadManager
|
| // Returns true if initialized properly.
|
| bool Init(content::BrowserContext* browser_context);
|
|
|
| - // Notifications sent from the download thread to the UI thread
|
| + // Notifications sent from the FILE 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.
|
| @@ -134,8 +135,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
|
| @@ -344,7 +347,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
|
|
|