| Index: chrome/browser/download/download_history.cc
|
| diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
|
| index f0865e2db43ad7c8315b1307266cd616d0e9cbe6..486193e7d9fe531f16d526cdad4b18021c26fc79 100644
|
| --- a/chrome/browser/download/download_history.cc
|
| +++ b/chrome/browser/download/download_history.cc
|
| @@ -140,7 +140,7 @@ history::DownloadRow GetDownloadRow(
|
| history::ToHistoryDownloadInterruptReason(item->GetLastReason()),
|
| std::string(), // Hash value (not available yet)
|
| history::ToHistoryDownloadId(item->GetId()), item->GetGuid(),
|
| - item->GetOpened(), by_ext_id, by_ext_name,
|
| + item->GetOpened(), item->GetLastAccessTime(), by_ext_id, by_ext_name,
|
| // TODO(qinmin): get the slice information.
|
| std::vector<history::DownloadSliceInfo>());
|
| }
|
| @@ -178,6 +178,7 @@ ShouldUpdateHistoryResult ShouldUpdateHistory(
|
| (previous->interrupt_reason != current.interrupt_reason) ||
|
| (previous->hash != current.hash) ||
|
| (previous->opened != current.opened) ||
|
| + (previous->last_access_time != current.last_access_time) ||
|
| (previous->by_ext_id != current.by_ext_id) ||
|
| (previous->by_ext_name != current.by_ext_name)) {
|
| return ShouldUpdateHistoryResult::UPDATE;
|
| @@ -297,7 +298,7 @@ void DownloadHistory::QueryCallback(std::unique_ptr<InfoVector> infos) {
|
| history::ToContentDownloadState(it->state),
|
| history::ToContentDownloadDangerType(it->danger_type),
|
| history::ToContentDownloadInterruptReason(it->interrupt_reason),
|
| - it->opened);
|
| + it->opened, it->last_access_time);
|
| #if BUILDFLAG(ENABLE_EXTENSIONS)
|
| if (!it->by_ext_id.empty() && !it->by_ext_name.empty()) {
|
| new extensions::DownloadedByExtension(
|
|
|