| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index 0b712396e339b27be422f4dc5891d66036bc72f7..34a4c6c7ff744c231858b0c79e80e44a1bca7ec3 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -245,6 +245,10 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // filename from the download attribute.
|
| virtual std::string GetSuggestedFilename() const = 0;
|
|
|
| + // Returns 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.
|
| + virtual int GetResponseCode() const = 0;
|
| +
|
| // Content-Disposition header value from HTTP response.
|
| virtual std::string GetContentDisposition() const = 0;
|
|
|
|
|