OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ppapi/nacl_irt/ppapi_dispatcher.h" | 5 #include "ppapi/nacl_irt/ppapi_dispatcher.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "components/tracing/child_trace_message_filter.h" | 17 #include "components/tracing/child/child_trace_message_filter.h" |
18 #include "ipc/ipc_channel_handle.h" | 18 #include "ipc/ipc_channel_handle.h" |
19 #include "ipc/ipc_logging.h" | 19 #include "ipc/ipc_logging.h" |
20 #include "ipc/ipc_message.h" | 20 #include "ipc/ipc_message.h" |
21 #include "ppapi/c/ppp.h" | 21 #include "ppapi/c/ppp.h" |
22 #include "ppapi/c/ppp_instance.h" | 22 #include "ppapi/c/ppp_instance.h" |
23 #include "ppapi/nacl_irt/manifest_service.h" | 23 #include "ppapi/nacl_irt/manifest_service.h" |
24 #include "ppapi/nacl_irt/plugin_startup.h" | 24 #include "ppapi/nacl_irt/plugin_startup.h" |
25 #include "ppapi/proxy/plugin_dispatcher.h" | 25 #include "ppapi/proxy/plugin_dispatcher.h" |
26 #include "ppapi/proxy/plugin_globals.h" | 26 #include "ppapi/proxy/plugin_globals.h" |
27 #include "ppapi/proxy/plugin_message_filter.h" | 27 #include "ppapi/proxy/plugin_message_filter.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 NOTREACHED(); | 210 NOTREACHED(); |
211 return; | 211 return; |
212 } | 212 } |
213 std::map<uint32_t, proxy::PluginDispatcher*>::iterator dispatcher = | 213 std::map<uint32_t, proxy::PluginDispatcher*>::iterator dispatcher = |
214 plugin_dispatchers_.find(id); | 214 plugin_dispatchers_.find(id); |
215 if (dispatcher != plugin_dispatchers_.end()) | 215 if (dispatcher != plugin_dispatchers_.end()) |
216 dispatcher->second->OnMessageReceived(msg); | 216 dispatcher->second->OnMessageReceived(msg); |
217 } | 217 } |
218 | 218 |
219 } // namespace ppapi | 219 } // namespace ppapi |
OLD | NEW |