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

Unified Diff: chrome/browser/download/download_util.h

Issue 10980002: Mac Web Intents Part 1: Show extension download progress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | chrome/browser/download/download_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_util.h
diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
index 8f75749e30560e37a5b8dc20ae590a114c3e93c8..eeabc4a9ba9eca1aee69658522ddc85bf71783d2 100644
--- a/chrome/browser/download/download_util.h
+++ b/chrome/browser/download/download_util.h
@@ -188,6 +188,12 @@ void RecordDownloadCount(ChromeDownloadCountTypes type);
// Record initiation of a download from a specific source.
void RecordDownloadSource(ChromeDownloadSource source);
+// Check whether a download should be displayed in the download shelf.
+bool GetShouldShowInShelf(content::DownloadItem* item);
Nico 2012/09/25 03:07:18 nit: getshould sounds a bit awkward. just shouldsh
Steve McKay 2012/09/25 18:56:04 A thought about naming. Whether the shelf should s
sail 2012/10/02 18:57:01 Done. Removed code.
sail 2012/10/02 18:57:01 I added a DownloadItem::ShouldShowInDownloadsUI()
Steve McKay 2012/10/02 19:19:22 You missed my point about finding the intrinsic pr
sail 2012/10/02 20:24:38 Sounds good. Renamed to DownloadItem::SetIsHiddenD
+
+// Set whether a download should be displayed in the download shelf.
+void SetShouldShowInShelf(content::DownloadItem* item, bool should_show);
+
} // namespace download_util
#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
« no previous file with comments | « no previous file | chrome/browser/download/download_util.cc » ('j') | chrome/browser/download/download_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698