| Index: content/public/browser/browser_plugin_guest_delegate.h
|
| diff --git a/content/public/browser/browser_plugin_guest_delegate.h b/content/public/browser/browser_plugin_guest_delegate.h
|
| index b9de596d7f1aead3a15a3f14a2fca22b29cee970..573658b6f23a9a469ca6e81037b7e0ee30c11e91 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
|
|
|