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

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

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: fix tests Created 3 years, 9 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.cc
diff --git a/chrome/browser/ntp_snippets/fake_download_item.cc b/chrome/browser/ntp_snippets/fake_download_item.cc
index 05d8a522cc9a9776547cf42fe38c1988b8c53b26..3fcdfd8ecf3609c77b506dcabd70778765022028 100644
--- a/chrome/browser/ntp_snippets/fake_download_item.cc
+++ b/chrome/browser/ntp_snippets/fake_download_item.cc
@@ -368,6 +368,11 @@ base::Time FakeDownloadItem::GetLastAccessTime() const {
return base::Time();
}
+bool FakeDownloadItem::IsVisible() const {
+ NOTREACHED();
+ return true;
+}
+
content::BrowserContext* FakeDownloadItem::GetBrowserContext() const {
NOTREACHED();
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698