| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/proxy/plugin_dispatcher.h" | 5 #include "ppapi/proxy/plugin_dispatcher.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "ppapi/proxy/ppapi_messages.h" | 25 #include "ppapi/proxy/ppapi_messages.h" |
| 26 #include "ppapi/proxy/ppb_instance_proxy.h" | 26 #include "ppapi/proxy/ppb_instance_proxy.h" |
| 27 #include "ppapi/proxy/ppp_class_proxy.h" | 27 #include "ppapi/proxy/ppp_class_proxy.h" |
| 28 #include "ppapi/proxy/resource_creation_proxy.h" | 28 #include "ppapi/proxy/resource_creation_proxy.h" |
| 29 #include "ppapi/proxy/resource_message_params.h" | 29 #include "ppapi/proxy/resource_message_params.h" |
| 30 #include "ppapi/shared_impl/ppapi_globals.h" | 30 #include "ppapi/shared_impl/ppapi_globals.h" |
| 31 #include "ppapi/shared_impl/proxy_lock.h" | 31 #include "ppapi/shared_impl/proxy_lock.h" |
| 32 #include "ppapi/shared_impl/resource.h" | 32 #include "ppapi/shared_impl/resource.h" |
| 33 | 33 |
| 34 #if defined(OS_POSIX) && !defined(OS_NACL) | 34 #if defined(OS_POSIX) && !defined(OS_NACL) |
| 35 #include "base/eintr_wrapper.h" | 35 #include "base/posix/eintr_wrapper.h" |
| 36 #include "ipc/ipc_channel_posix.h" | 36 #include "ipc/ipc_channel_posix.h" |
| 37 #endif | 37 #endif |
| 38 | 38 |
| 39 namespace ppapi { | 39 namespace ppapi { |
| 40 namespace proxy { | 40 namespace proxy { |
| 41 | 41 |
| 42 namespace { | 42 namespace { |
| 43 | 43 |
| 44 typedef std::map<PP_Instance, PluginDispatcher*> InstanceToDispatcherMap; | 44 typedef std::map<PP_Instance, PluginDispatcher*> InstanceToDispatcherMap; |
| 45 InstanceToDispatcherMap* g_instance_to_dispatcher = NULL; | 45 InstanceToDispatcherMap* g_instance_to_dispatcher = NULL; |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 if (!resource) { | 341 if (!resource) { |
| 342 if (reply_params.sequence()) | 342 if (reply_params.sequence()) |
| 343 NOTREACHED(); | 343 NOTREACHED(); |
| 344 return; | 344 return; |
| 345 } | 345 } |
| 346 resource->OnReplyReceived(reply_params, nested_msg); | 346 resource->OnReplyReceived(reply_params, nested_msg); |
| 347 } | 347 } |
| 348 | 348 |
| 349 } // namespace proxy | 349 } // namespace proxy |
| 350 } // namespace ppapi | 350 } // namespace ppapi |
| OLD | NEW |