Chromium Code Reviews| Index: chrome/browser/ui/browser.cc |
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
| index daffdc378be00d603ae285b97a9bf9b89e2e390a..acc6ca7650c588665340c3ab6a14991ecefc18ae 100644 |
| --- a/chrome/browser/ui/browser.cc |
| +++ b/chrome/browser/ui/browser.cc |
| @@ -1707,6 +1707,15 @@ void Browser::RequestMediaAccessPermission( |
| RequestMediaAccessPermissionHelper(web_contents, request, callback); |
| } |
| +void Browser::RequestPpapiBrokerPermission( |
|
brettw
2012/08/20 05:29:47
You should be able to do this without touching Bro
Bernhard Bauer
2012/08/20 14:43:20
I was under the impression that WebContentsObserve
brettw
2012/08/20 23:36:25
No, the observes "do stuff" as well. If there were
Bernhard Bauer
2012/08/21 11:50:12
Done.
|
| + WebContents* web_contents, |
| + const GURL& url, |
| + const FilePath& plugin_path, |
| + const base::Callback<void(bool)>& callback) { |
| + // TODO(bauerb): Request permission. |
| + callback.Run(true); |
| +} |
| + |
| /////////////////////////////////////////////////////////////////////////////// |
| // Browser, CoreTabHelperDelegate implementation: |