Index: chrome/browser/history/download_types.h |
diff --git a/chrome/browser/history/download_types.h b/chrome/browser/history/download_types.h |
index 50c7e26ecbd679c3d3ceac929b5c6016b7a29370..4db21e4104330d2da9d5f80726701b5cd481f579 100644 |
--- a/chrome/browser/history/download_types.h |
+++ b/chrome/browser/history/download_types.h |
@@ -78,6 +78,10 @@ struct DownloadCreateInfo { |
int64 db_handle; |
std::string content_disposition; |
std::string mime_type; |
+ // The value of the content type header sent with the downloaded item. It |
+ // may be different from |mime_type|, which may be set based on heuristics |
+ // which may look at the file extension and first few bytes of the file. |
+ std::string original_mime_type; |
bool save_as; |
// Whether this download is potentially dangerous (ex: exe, dll, ...). |
bool is_dangerous; |