Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index b649c3c580ccea31e71af49d594e4004ebf4efb8..97c8577828083da8e92cce015c686eedd6d3c21c 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -418,6 +418,14 @@ class CONTENT_EXPORT WebContentsDelegate { |
const MediaStreamRequest* request, |
const MediaResponseCallback& callback) {} |
+ // Requests permission to access the PPAPI broker. The passed in |callback| |
+ // should be called with the result. |
+ virtual void RequestPpapiBrokerPermission( |
+ WebContents* web_contents, |
+ const GURL& url, |
+ const FilePath& plugin_path, |
+ const base::Callback<void(bool)>& callback); |
+ |
#if defined(OS_ANDROID) |
// Called when a compositing layer becomes available for this web contents |
// so the delegate can add it to the layer tree. |