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

Unified Diff: content/public/browser/download_item.h

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: Fixed migration unit test 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: content/public/browser/download_item.h
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
index af9715db4f0ff9dcd54e5c5dcc4bf5a10a4539c2..8fd6f03f36ff7a5272105393d68e40681b2a7b1a 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -400,6 +400,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
// been opened.
virtual base::Time GetLastAccessTime() const = 0;
+ // Returns whether the download item should be visible.
+ virtual bool IsVisible() const = 0;
+
// Misc State accessors ---------------------------------------------------
// BrowserContext that indirectly owns this download. Always valid.

Powered by Google App Engine
This is Rietveld 408576698