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

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 origin/master 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..c91dfd9e2655ba58a038192fac75aa8654695108 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.h
+++ b/chrome/browser/ntp_snippets/fake_download_item.h
@@ -48,10 +48,10 @@ class FakeDownloadItem : public content::DownloadItem {
void SetFileExternallyRemoved(bool is_file_externally_removed);
bool GetFileExternallyRemoved() const override;
- void SetStartTime(const base::Time& start_time);
+ void SetStartTime(base::Time start_time);
base::Time GetStartTime() const override;
- void SetEndTime(const base::Time& end_time);
+ void SetEndTime(base::Time end_time);
base::Time GetEndTime() const override;
void SetState(const DownloadState& state);
@@ -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(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