Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1929)

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

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: rebase + Java accessor Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ntp_snippets/fake_download_item.h
diff --git a/chrome/browser/ntp_snippets/fake_download_item.h b/chrome/browser/ntp_snippets/fake_download_item.h
index 09f54e5d530ad8e475c06c8ee693f9dc19d2bfa0..009e1746182f8d14492b3fdb43d207b4d96b84c9 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.h
+++ b/chrome/browser/ntp_snippets/fake_download_item.h
@@ -115,12 +115,14 @@ class FakeDownloadItem : public content::DownloadItem {
bool GetOpenWhenComplete() const override;
bool GetAutoOpened() override;
bool GetOpened() const override;
+ base::Time GetLastAccessTime() const override;
content::BrowserContext* GetBrowserContext() const override;
content::WebContents* GetWebContents() const override;
void OnContentCheckCompleted(
content::DownloadDangerType danger_type) override;
void SetOpenWhenComplete(bool open) override;
void SetOpened(bool opened) override;
+ void SetLastAccessTime(const base::Time& time) override;
void SetDisplayName(const base::FilePath& name) override;
std::string DebugString(bool verbose) const override;

Powered by Google App Engine
This is Rietveld 408576698