| Index: chrome/browser/ui/browser.h
|
| diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
|
| index 2475bb2a6b001fc07f8393d4495d262e5a7951a9..2ca14abda29fbba272287e6592a0977914c53a65 100644
|
| --- a/chrome/browser/ui/browser.h
|
| +++ b/chrome/browser/ui/browser.h
|
| @@ -408,6 +408,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,
|
| @@ -644,6 +651,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|.
|
|
|