| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index fa9ef5c65579e37d57c7786e3e7e5986a4808a86..e125fd8ba60b434855b584fb95a2a7b34985ec28 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -979,6 +979,16 @@ void Browser::RequestMediaAccessPermissionHelper(
|
| }
|
| }
|
|
|
| +// static
|
| +void Browser::RequestPpapiBrokerPermissionHelper(
|
| + WebContents* web_contents,
|
| + const GURL& url,
|
| + const FilePath& plugin_path,
|
| + const base::Callback<void(bool)>& callback) {
|
| + // TODO(bauerb): Request permission.
|
| + callback.Run(true);
|
| +}
|
| +
|
| void Browser::UpdateUIForNavigationInTab(TabContents* contents,
|
| content::PageTransition transition,
|
| bool user_initiated) {
|
| @@ -1707,6 +1717,15 @@ void Browser::RequestMediaAccessPermission(
|
| RequestMediaAccessPermissionHelper(web_contents, request, callback);
|
| }
|
|
|
| +void Browser::RequestPpapiBrokerPermission(
|
| + WebContents* web_contents,
|
| + const GURL& url,
|
| + const FilePath& plugin_path,
|
| + const base::Callback<void(bool)>& callback) {
|
| + RequestPpapiBrokerPermissionHelper(web_contents, url, plugin_path,
|
| + callback);
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // Browser, CoreTabHelperDelegate implementation:
|
|
|
|
|