Index: components/history/core/browser/download_row.h |
diff --git a/components/history/core/browser/download_row.h b/components/history/core/browser/download_row.h |
index 1c47635aeed0b0a8e56192d12f09b8d8ae043a0d..cb0f0cc83862d4f9ce3d742460486b3de100291f 100644 |
--- a/components/history/core/browser/download_row.h |
+++ b/components/history/core/browser/download_row.h |
@@ -33,8 +33,8 @@ struct DownloadRow { |
const std::string& http_method, |
const std::string& mime_type, |
const std::string& original_mime_type, |
- const base::Time& start, |
- const base::Time& end, |
+ base::Time start, |
+ base::Time end, |
const std::string& etag, |
const std::string& last_modified, |
int64_t received, |
@@ -46,6 +46,7 @@ struct DownloadRow { |
DownloadId id, |
const std::string& guid, |
bool download_opened, |
+ base::Time last_access, |
const std::string& ext_id, |
const std::string& ext_name, |
const std::vector<DownloadSliceInfo>& download_slice_info); |
@@ -134,6 +135,9 @@ struct DownloadRow { |
// Whether this download has ever been opened from the browser. |
bool opened; |
+ // The time when the download was last accessed. |
+ base::Time last_access_time; |
+ |
// The id and name of the extension that created this download. |
std::string by_ext_id; |
std::string by_ext_name; |