| 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 df8dfa26d6672cad9f829c07f434b0a404c77c88..f12e06f4b58cd5f7d99b2892a66aff54b3cccbc2 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc
|
| @@ -56,6 +56,8 @@ bool BrowserPluginEmbedderHelper::OnMessageReceived(
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_SetAutoSize, OnSetAutoSize)
|
| IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_PluginAtPositionResponse,
|
| OnPluginAtPositionResponse)
|
| + IPC_MESSAGE_HANDLER(BrowserPluginHostMsg_AllowMediaAccess,
|
| + OnAllowMediaAccess)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| return handled;
|
| @@ -185,4 +187,10 @@ void BrowserPluginEmbedderHelper::OnSetAutoSize(
|
| embedder_->SetAutoSize(instance_id, auto_size_params, resize_guest_params);
|
| }
|
|
|
| +void BrowserPluginEmbedderHelper::OnAllowMediaAccess(int instance_id,
|
| + int request_id,
|
| + bool allow) {
|
| + embedder_->AllowMediaAccess(instance_id, request_id, allow);
|
| +}
|
| +
|
| } // namespace content
|
|
|