| 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 f7915d739ec5659580d99b78f2d0f9519186e60c..557cec706c6537b3b225ead7412c4dedd480c843 100644
|
| --- a/content/browser/download/download_item_impl.h
|
| +++ b/content/browser/download/download_item_impl.h
|
| @@ -130,6 +130,7 @@ class CONTENT_EXPORT DownloadItemImpl
|
| const GURL& GetTabUrl() const override;
|
| const GURL& GetTabReferrerUrl() const override;
|
| std::string GetSuggestedFilename() const override;
|
| + int GetResponseCode() const override;
|
| std::string GetContentDisposition() const override;
|
| std::string GetMimeType() const override;
|
| std::string GetOriginalMimeType() const override;
|
| @@ -568,7 +569,12 @@ class CONTENT_EXPORT DownloadItemImpl
|
| // Whether the download was triggered with a user gesture.
|
| bool has_user_gesture_ = false;
|
|
|
| - // Information from the request.
|
| + // Information from the response.
|
| +
|
| + // The HTTP response code. This is 0 when the response has not yet been
|
| + // received or if the response code text could not be parsed.
|
| + int response_code_ = 0;
|
| +
|
| // Content-disposition field from the header.
|
| std::string content_disposition_;
|
|
|
|
|