| Index: content/browser/download/download_item_impl.h
|
| diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
|
| index c639ee7f5c7178eb0292225d5e8e7e5d42dbea4d..3fc8e0e5d48af6fe16c734c7603fea42069e1d0c 100644
|
| --- a/content/browser/download/download_item_impl.h
|
| +++ b/content/browser/download/download_item_impl.h
|
| @@ -197,19 +197,19 @@ class CONTENT_EXPORT DownloadItemImpl
|
| // Called by SavePackage to set the total number of bytes on the item.
|
| virtual void SetTotalBytes(int64 total_bytes);
|
|
|
| - // Indicate progress in saving data to its destination.
|
| - // |bytes_so_far| is the number of bytes received so far.
|
| - // |hash_state| is the current hash state.
|
| - virtual void UpdateProgress(int64 bytes_so_far,
|
| - int64 bytes_per_sec,
|
| - const std::string& hash_state);
|
| -
|
| virtual void OnAllDataSaved(const std::string& final_hash);
|
|
|
| // Called by SavePackage to display progress when the DownloadItem
|
| // should be considered complete.
|
| virtual void MarkAsComplete();
|
|
|
| + // DownloadDestinationObserver
|
| + virtual void DestinationUpdate(int64 bytes_so_far,
|
| + int64 bytes_per_sec,
|
| + const std::string& hash_state) OVERRIDE;
|
| + virtual void DestinationError(DownloadInterruptReason reason) OVERRIDE;
|
| + virtual void DestinationCompleted(const std::string& final_hash) OVERRIDE;
|
| +
|
| private:
|
| // Fine grained states of a download.
|
| enum DownloadInternalState {
|
| @@ -241,13 +241,6 @@ class CONTENT_EXPORT DownloadItemImpl
|
| MAX_DOWNLOAD_INTERNAL_STATE,
|
| };
|
|
|
| - // DownloadDestinationObserver
|
| - virtual void DestinationUpdate(int64 bytes_so_far,
|
| - int64 bytes_per_sec,
|
| - const std::string& hash_state) OVERRIDE;
|
| - virtual void DestinationError(DownloadInterruptReason reason) OVERRIDE;
|
| - virtual void DestinationCompleted(const std::string& final_hash) OVERRIDE;
|
| -
|
| // Normal progression of a download ------------------------------------------
|
|
|
| // These are listed in approximately chronological order. There are also
|
|
|