Chromium Code Reviews

Unified Diff: chrome/browser/ntp_snippets/fake_download_item.cc

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ntp_snippets/fake_download_item.cc
diff --git a/chrome/browser/ntp_snippets/fake_download_item.cc b/chrome/browser/ntp_snippets/fake_download_item.cc
index ef06a2849547ffc6e313fe6473858a67a4737cf4..1d64800d715941a6834b1312c14d3e92af607847 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.cc
+++ b/chrome/browser/ntp_snippets/fake_download_item.cc
@@ -356,6 +356,11 @@ bool FakeDownloadItem::GetOpened() const {
return false;
}
+base::Time FakeDownloadItem::GetLastAccessTime() const {
+ NOTREACHED();
+ return base::Time();
+}
+
content::BrowserContext* FakeDownloadItem::GetBrowserContext() const {
NOTREACHED();
return nullptr;
@@ -379,6 +384,10 @@ void FakeDownloadItem::SetOpened(bool opened) {
NOTREACHED();
}
+void FakeDownloadItem::SetLastAccessTime(const base::Time& time) {
+ NOTREACHED();
+}
+
void FakeDownloadItem::SetDisplayName(const base::FilePath& name) {
NOTREACHED();
}

Powered by Google App Engine