summaryrefslogtreecommitdiffstats
path: root/content/public/browser/browser_plugin_guest_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/browser/browser_plugin_guest_delegate.h')
-rw-r--r--content/public/browser/browser_plugin_guest_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
index b9de596..573658b 100644
--- a/content/public/browser/browser_plugin_guest_delegate.h
+++ b/content/public/browser/browser_plugin_guest_delegate.h
@@ -110,6 +110,11 @@ class CONTENT_EXPORT BrowserPluginGuestDelegate {
const MediaStreamRequest& request,
const MediaResponseCallback& callback);
+ // Asks the delegate if the given tab can download.
+ // Invoking the |callback| synchronously is OK.
+ virtual void CanDownload(const std::string& request_method,
+ const GURL& url,
+ const base::Callback<void(bool)>& callback);
};
} // namespace content