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

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

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: Renamed to transient 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: content/public/browser/download_item.h
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
index 48309b60b1e39503fb01a663c43c69b7500c7a7e..b5f0341a91c1ec5947c21e78979388d2cd1adbc0 100644
--- a/content/public/browser/download_item.h
+++ b/content/public/browser/download_item.h
@@ -402,6 +402,10 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
// been opened.
virtual base::Time GetLastAccessTime() const = 0;
+ // Returns whether the download item is transient. Transient items are not
+ // visible in the UI.
+ virtual bool IsTransient() const = 0;
+
// Misc State accessors ---------------------------------------------------
// BrowserContext that indirectly owns this download. Always valid.

Powered by Google App Engine
This is Rietveld 408576698