Index: chrome/browser/download/download_crx_util.h |
diff --git a/chrome/browser/download/download_crx_util.h b/chrome/browser/download/download_crx_util.h |
index 0a105fabd9708ee99a984a8cbac620306e2924e9..8f1f34781ebf8ce3af0c2035c88730d55322ab38 100644 |
--- a/chrome/browser/download/download_crx_util.h |
+++ b/chrome/browser/download/download_crx_util.h |
@@ -37,6 +37,10 @@ scoped_refptr<CrxInstaller> OpenChromeExtension( |
Profile* profile, |
const content::DownloadItem& download_item); |
+// Returns true if this is an extension download. This also considers user |
+// scripts to be extension downloads, since we convert those automatically. |
+bool IsExtensionDownload(const content::DownloadItem& download_item); |
+ |
} // namespace download_crx_util |
#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_CRX_UTIL_H_ |