| Index: content/browser/download/download_item_impl.h
|
| diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
|
| index 93293cb2bb6f8758d5e22e8c6c1a7d1a8d96cfb0..b67605b6dbbd7a24ba5872b8511b5494385a785a 100644
|
| --- a/content/browser/download/download_item_impl.h
|
| +++ b/content/browser/download/download_item_impl.h
|
| @@ -125,6 +125,8 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
|
| GetPersistentStoreInfo() const OVERRIDE;
|
| virtual content::BrowserContext* GetBrowserContext() const OVERRIDE;
|
| virtual content::WebContents* GetWebContents() const OVERRIDE;
|
| + virtual void SetShouldShowInDownloadsUI(bool should_show) OVERRIDE;
|
| + virtual bool ShouldShowInDownloadsUI() const OVERRIDE;
|
| virtual void DelayedDownloadOpened(bool auto_opened) OVERRIDE;
|
| virtual void OnContentCheckCompleted(
|
| content::DownloadDangerType danger_type) OVERRIDE;
|
| @@ -451,6 +453,9 @@ class CONTENT_EXPORT DownloadItemImpl : public content::DownloadItem {
|
| // Net log to use for this download.
|
| const net::BoundNetLog bound_net_log_;
|
|
|
| + // Controls whether the download should be shown in the download UI.
|
| + bool should_show_in_downloads_ui_;
|
| +
|
| base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);
|
|
|