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 4a6e31919f3ed0e0db75ccf0bb60c3dec74a9fc4..90dda1d3d38b68645513add228c437fddd281c36 100644 |
--- a/content/browser/download/download_item_impl.h |
+++ b/content/browser/download/download_item_impl.h |
@@ -713,6 +713,10 @@ class CONTENT_EXPORT DownloadItemImpl |
std::unique_ptr<DownloadJob> job_; |
+ // Value of |received_bytes_| at the time the download was interrupted with |
+ // CONTENT_LENGTH_MISMATCH. |
+ int64_t received_bytes_at_length_mismatch = -1; |
+ |
base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_; |
DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl); |