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_ |