Index: chrome/browser/ui/browser.h |
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h |
index 7a3f7dcea0dd70c2a7964327472a81c50ac06c75..89cf6ea9b5e935c44ae267c009224ca9d19c3852 100644 |
--- a/chrome/browser/ui/browser.h |
+++ b/chrome/browser/ui/browser.h |
@@ -398,6 +398,13 @@ class Browser : public TabStripModelObserver, |
const content::MediaStreamRequest* request, |
const content::MediaResponseCallback& callback); |
+ // Helper function to handle PPAPI broker access requests. |
+ static void RequestPpapiBrokerPermissionHelper( |
+ content::WebContents* web_contets, |
+ const GURL& url, |
+ const FilePath& plugin_path, |
+ const base::Callback<void(bool)>& callback); |
+ |
// Called by chrome::Navigate() when a navigation has occurred in a tab in |
// this Browser. Updates the UI for the start of this navigation. |
void UpdateUIForNavigationInTab(TabContents* contents, |
@@ -634,6 +641,11 @@ class Browser : public TabStripModelObserver, |
content::WebContents* web_contents, |
const content::MediaStreamRequest* request, |
const content::MediaResponseCallback& callback) OVERRIDE; |
+ virtual void RequestPpapiBrokerPermission( |
+ content::WebContents* web_contents, |
+ const GURL& url, |
+ const FilePath& plugin_path, |
+ const base::Callback<void(bool)>& callback) OVERRIDE; |
// Overridden from CoreTabHelperDelegate: |
// Note that the caller is responsible for deleting |old_tab_contents|. |