Index: content/ppapi_plugin/ppapi_thread.cc |
diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc |
index 970468dd131a3f450632d75528f468e43ed17a69..7e1c3bc368e489ffcccf825d6b081858d0115d89 100644 |
--- a/content/ppapi_plugin/ppapi_thread.cc |
+++ b/content/ppapi_plugin/ppapi_thread.cc |
@@ -94,6 +94,8 @@ bool PpapiThread::OnMessageReceived(const IPC::Message& msg) { |
IPC_MESSAGE_HANDLER(PpapiMsg_LoadPlugin, OnMsgLoadPlugin) |
IPC_MESSAGE_HANDLER(PpapiMsg_CreateChannel, OnMsgCreateChannel) |
+ IPC_MESSAGE_HANDLER(PpapiPluginMsg_ResourceReply, OnMsgResourceReply) |
+ |
IPC_MESSAGE_HANDLER_GENERIC(PpapiMsg_PPBTCPServerSocket_ListenACK, |
OnPluginDispatcherMessageReceived(msg)) |
IPC_MESSAGE_HANDLER_GENERIC(PpapiMsg_PPBTCPServerSocket_AcceptACK, |
@@ -306,6 +308,13 @@ void PpapiThread::OnMsgCreateChannel(int renderer_id, |
Send(new PpapiHostMsg_ChannelCreated(channel_handle)); |
} |
+void PpapiThread::OnMsgResourceReply( |
+ const ppapi::proxy::ResourceMessageReplyParams& reply_params, |
+ const IPC::Message& nested_msg) { |
+ ppapi::proxy::PluginDispatcher::DispatchResourceReply(reply_params, |
+ nested_msg); |
+} |
+ |
void PpapiThread::OnMsgSetNetworkState(bool online) { |
if (!get_plugin_interface_) |
return; |