Index: content/public/browser/download_item.h |
diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h |
index 67b4172cf99dbea0784163bdde24e478fee5b844..01cd049f686f12fb202cc13a995e7b87039a76c1 100644 |
--- a/content/public/browser/download_item.h |
+++ b/content/public/browser/download_item.h |
@@ -303,6 +303,10 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData { |
virtual BrowserContext* GetBrowserContext() const = 0; |
virtual WebContents* GetWebContents() const = 0; |
+ // Controls whether the download should be shown in the download UI. |
+ virtual void SetShouldShowInDownloadsUI(bool should_show) = 0; |
+ virtual bool ShouldShowInDownloadsUI() const = 0; |
+ |
// External state transitions/setters ---------------------------------------- |
// TODO(rdsmith): These should all be removed; the download item should |
// control its own state transitions. |