Chromium Code Reviews| Index: ppapi/proxy/host_dispatcher.cc |
| diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc |
| index f9d347168a7e1a8cbdd2769add83aaef150a5545..21dc269aabb8bdacdbe28fad3cf37e5d31b47376 100644 |
| --- a/ppapi/proxy/host_dispatcher.cc |
| +++ b/ppapi/proxy/host_dispatcher.cc |
| @@ -183,6 +183,11 @@ bool HostDispatcher::OnMessageReceived(const IPC::Message& msg) { |
| BoolRestorer restorer(&allow_plugin_reentrancy_); |
| allow_plugin_reentrancy_ = false; |
| + for (size_t i = 0; i < filters_.size(); i++) { |
| + if (filters_[i]->OnMessageReceived(msg)) |
| + return true; |
| + } |
|
bbudge
2012/07/09 20:41:36
It's not clear to me from the rest of the patch wh
brettw
2012/07/13 04:57:41
That;s actually what allows the host to receive me
|
| + |
| bool handled = true; |
| IPC_BEGIN_MESSAGE_MAP(HostDispatcher, msg) |
| IPC_MESSAGE_HANDLER(PpapiHostMsg_LogWithSource, OnHostMsgLogWithSource) |