Index: content/public/browser/download_manager_delegate.h |
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h |
index 8328f72c1dc8b00fcc9d405e7a17fcfcb8e16a4d..4516fcbe5ec95ec650c1cda3f95dc1ddfd495d59 100644 |
--- a/content/public/browser/download_manager_delegate.h |
+++ b/content/public/browser/download_manager_delegate.h |
@@ -66,6 +66,10 @@ class CONTENT_EXPORT DownloadManagerDelegate { |
// download to complete. |
virtual bool ShouldCompleteDownload(DownloadItem* item); |
+ // Allows the delegate to indicate that the downloaded resource should be |
+ // dispatched as a web intent. |
+ virtual bool ShouldOpenWithWebIntent(DownloadItem* item); |
+ |
// Allows the delegate to override opening the download. If this function |
// returns false, the delegate needs to call |
// DownloadItem::DelayedDownloadOpened when it's done with the item, |