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

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

Issue 10980002: Mac Web Intents Part 1: Show extension download progress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments 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/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.

Powered by Google App Engine
This is Rietveld 408576698