| Index: content/browser/download/save_file.h
|
| diff --git a/content/browser/download/save_file.h b/content/browser/download/save_file.h
|
| index baa863d3540bd8f9a62f7b10bee2eb31d8a42a3b..9f3710fe555e6ea95173ee6e1814c0dc396d7519 100644
|
| --- a/content/browser/download/save_file.h
|
| +++ b/content/browser/download/save_file.h
|
| @@ -21,11 +21,11 @@
|
| // in a save session.
|
| class SaveFile {
|
| public:
|
| - explicit SaveFile(const SaveFileCreateInfo* info);
|
| + explicit SaveFile(const SaveFileCreateInfo* info, bool calculate_hash);
|
| virtual ~SaveFile();
|
|
|
| // BaseFile delegated functions.
|
| - net::Error Initialize(bool calculate_hash);
|
| + net::Error Initialize();
|
| net::Error AppendDataToFile(const char* data, size_t data_len);
|
| net::Error Rename(const FilePath& full_path);
|
| void Detach();
|
| @@ -35,7 +35,7 @@ class SaveFile {
|
| FilePath FullPath() const;
|
| bool InProgress() const;
|
| int64 BytesSoFar() const;
|
| - bool GetSha256Hash(std::string* hash);
|
| + bool GetHash(std::string* hash);
|
| std::string DebugString() const;
|
|
|
| // Accessors.
|
|
|