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 2f2db42ae4ebdc0cd0ce393e18b05dbf26458734..05d8a522cc9a9776547cf42fe38c1988b8c53b26 100644 |
--- a/chrome/browser/ntp_snippets/fake_download_item.cc |
+++ b/chrome/browser/ntp_snippets/fake_download_item.cc |
@@ -80,7 +80,7 @@ bool FakeDownloadItem::GetFileExternallyRemoved() const { |
return is_file_externally_removed_; |
} |
-void FakeDownloadItem::SetStartTime(const base::Time& start_time) { |
+void FakeDownloadItem::SetStartTime(base::Time start_time) { |
start_time_ = start_time; |
} |
@@ -88,7 +88,7 @@ base::Time FakeDownloadItem::GetStartTime() const { |
return start_time_; |
} |
-void FakeDownloadItem::SetEndTime(const base::Time& end_time) { |
+void FakeDownloadItem::SetEndTime(base::Time end_time) { |
end_time_ = end_time; |
} |
@@ -363,6 +363,11 @@ bool FakeDownloadItem::GetOpened() const { |
return false; |
} |
+base::Time FakeDownloadItem::GetLastAccessTime() const { |
+ NOTREACHED(); |
+ return base::Time(); |
+} |
+ |
content::BrowserContext* FakeDownloadItem::GetBrowserContext() const { |
NOTREACHED(); |
return nullptr; |
@@ -386,6 +391,10 @@ void FakeDownloadItem::SetOpened(bool opened) { |
NOTREACHED(); |
} |
+void FakeDownloadItem::SetLastAccessTime(base::Time time) { |
+ NOTREACHED(); |
+} |
+ |
void FakeDownloadItem::SetDisplayName(const base::FilePath& name) { |
NOTREACHED(); |
} |