| Index: content/browser/download/download_file_impl.h
|
| diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
|
| index e513e7dbf4f184d52fa79e43b14aab2efce2200d..3bdcf02b7c6fb136178e0c67efb6c16b4cc742f5 100644
|
| --- a/content/browser/download/download_file_impl.h
|
| +++ b/content/browser/download/download_file_impl.h
|
| @@ -23,11 +23,12 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
|
| // Takes ownership of the object pointed to by |request_handle|.
|
| DownloadFileImpl(const DownloadCreateInfo* info,
|
| DownloadRequestHandleInterface* request_handle,
|
| - DownloadManager* download_manager);
|
| + DownloadManager* download_manager,
|
| + bool calculate_hash);
|
| virtual ~DownloadFileImpl();
|
|
|
| // DownloadFile functions.
|
| - virtual net::Error Initialize(bool calculate_hash) OVERRIDE;
|
| + virtual net::Error Initialize() OVERRIDE;
|
| virtual net::Error AppendDataToFile(const char* data,
|
| size_t data_len) OVERRIDE;
|
| virtual net::Error Rename(const FilePath& full_path) OVERRIDE;
|
| @@ -39,7 +40,8 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
|
| virtual bool InProgress() const OVERRIDE;
|
| virtual int64 BytesSoFar() const OVERRIDE;
|
| virtual int64 CurrentSpeed() const OVERRIDE;
|
| - virtual bool GetSha256Hash(std::string* hash) OVERRIDE;
|
| + virtual bool GetHash(std::string* hash) OVERRIDE;
|
| + virtual std::string GetHashState() OVERRIDE;
|
| virtual void CancelDownloadRequest() OVERRIDE;
|
| virtual int Id() const OVERRIDE;
|
| virtual DownloadManager* GetDownloadManager() OVERRIDE;
|
|
|