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

Unified Diff: content/browser/download/download_item_impl.h

Issue 10980002: Mac Web Intents Part 1: Show extension download progress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added test Created 8 years, 2 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/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..95e3998a3b7a8502b80653b6ba9b3358ab6401af 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 SetIsHiddenDownload(bool is_hidden) OVERRIDE;
+ virtual bool IsHiddenDownload() 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 is hidden.
+ bool is_hidden_download_;
+
base::WeakPtrFactory<DownloadItemImpl> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(DownloadItemImpl);

Powered by Google App Engine
This is Rietveld 408576698