| Index: content/public/browser/download_save_info.cc
|
| diff --git a/content/public/browser/download_save_info.cc b/content/public/browser/download_save_info.cc
|
| index eabc761ec677cba4d374419d5aee75aeafd006c3..8e686f3b312abbf493e2ecf1568f996a3705fc75 100644
|
| --- a/content/public/browser/download_save_info.cc
|
| +++ b/content/public/browser/download_save_info.cc
|
| @@ -6,9 +6,11 @@
|
|
|
| namespace content {
|
|
|
| +// static
|
| +const int64_t DownloadSaveInfo::kLengthFullContent = 0;
|
| +
|
| DownloadSaveInfo::DownloadSaveInfo()
|
| - : offset(0), prompt_for_save_location(false) {
|
| -}
|
| + : offset(0), length(kLengthFullContent), prompt_for_save_location(false) {}
|
|
|
| DownloadSaveInfo::~DownloadSaveInfo() {
|
| }
|
| @@ -18,6 +20,7 @@ DownloadSaveInfo::DownloadSaveInfo(DownloadSaveInfo&& that)
|
| suggested_name(std::move(that.suggested_name)),
|
| file(std::move(that.file)),
|
| offset(that.offset),
|
| + length(that.length),
|
| hash_state(std::move(that.hash_state)),
|
| hash_of_partial_file(std::move(that.hash_of_partial_file)),
|
| prompt_for_save_location(that.prompt_for_save_location) {}
|
|
|