| 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 db2fc9cc930eb60f4e7939dcd62d3df2b810eded..9bf5d40f0b0e21108cef841f171b640198fb69f6 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -418,6 +418,15 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| const MediaStreamRequest* request,
|
| const MediaResponseCallback& callback) {}
|
|
|
| + // Requests permission to access the PPAPI broker. The delegate should return
|
| + // true and call the passed in |callback| with the result, or return false
|
| + // to indicate that it does not support asking for permission.
|
| + virtual bool RequestPpapiBrokerPermission(
|
| + WebContents* web_contents,
|
| + const GURL& url,
|
| + const FilePath& plugin_path,
|
| + const base::Callback<void(bool)>& callback);
|
| +
|
| protected:
|
| virtual ~WebContentsDelegate();
|
|
|
|
|