Index: chrome/browser/history/download_row.h |
diff --git a/chrome/browser/history/download_row.h b/chrome/browser/history/download_row.h |
index d38eec5268bb62664d0b7bcd9167121a611a09bb..a0c094fb294af7369c42eb2e2ed686a791bed393 100644 |
--- a/chrome/browser/history/download_row.h |
+++ b/chrome/browser/history/download_row.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_HISTORY_DOWNLOAD_ROW_H_ |
#define CHROME_BROWSER_HISTORY_DOWNLOAD_ROW_H_ |
+#include <string> |
#include <vector> |
#include "base/files/file_path.h" |
@@ -26,6 +27,8 @@ struct DownloadRow { |
const base::FilePath& target_path, |
const std::vector<GURL>& url_chain, |
const GURL& referrer, |
+ const std::string& mime_type, |
+ const std::string& original_mime_type, |
const base::Time& start, |
const base::Time& end, |
const std::string& etag, |
@@ -57,6 +60,12 @@ struct DownloadRow { |
// The URL that referred us. Is not changed by UpdateDownload(). |
GURL referrer_url; |
+ // The MIME type of the download, might be based on heuristics. |
+ std::string mime_type; |
+ |
+ // The original MIME type of the download. |
+ std::string original_mime_type; |
+ |
// The time when the download started. Is not changed by UpdateDownload(). |
base::Time start_time; |