| Index: content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| index 78866a26aa0c16ce02529d9d7ce377a392eb883c..d4ef8ffea29ea5e27e01053b04203bd30988f731 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| @@ -51,6 +51,8 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived(
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_TerminateGuest, OnTerminateGuest)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_SetVisibility,
|
| OnSetGuestVisibility)
|
| + IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_AllowMediaAccess,
|
| + OnAllowMediaAccess)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -160,5 +162,10 @@ void BrowserPluginEmbedderHelper::OnSetGuestVisibility(int instance_id,
|
| embedder_->SetGuestVisibility(instance_id, visible);
|
| }
|
|
|
| +void BrowserPluginEmbedderHelper::OnAllowMediaAccess(int instance_id,
|
| + int request_id,
|
| + bool allow) {
|
| + embedder_->AllowMediaAccess(instance_id, request_id, allow);
|
| +}
|
|
|
| } // namespace content
|
|
|