| Index: content/browser/browser_plugin/browser_plugin_embedder.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| index 091c00c90b0bb8c400514743bb4431de4d7e1599..cfb6e8ba95258bf1a9d216440c9d9e455556bf76 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| @@ -272,6 +272,14 @@ void BrowserPluginEmbedder::SetGuestVisibility(int instance_id,
|
| guest->SetVisibility(visible_, guest_visible);
|
| }
|
|
|
| +void BrowserPluginEmbedder::AllowMediaAccess(int instance_id,
|
| + int request_id,
|
| + bool allow) {
|
| + BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id);
|
| + if (guest)
|
| + guest->AllowMediaAccess(web_contents(), request_id, allow);
|
| +}
|
| +
|
| void BrowserPluginEmbedder::Go(int instance_id, int relative_index) {
|
| BrowserPluginGuest* guest = GetGuestByInstanceID(instance_id);
|
| if (guest)
|
|
|