OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/host_dispatcher.h" | 5 #include "ppapi/proxy/host_dispatcher.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "ppapi/c/dev/ppb_var_deprecated.h" | 10 #include "ppapi/c/dev/ppb_var_deprecated.h" |
(...skipping 54 matching lines...) Loading... |
65 // static | 65 // static |
66 void HostDispatcher::RemoveForInstance(PP_Instance instance) { | 66 void HostDispatcher::RemoveForInstance(PP_Instance instance) { |
67 if (!g_instance_to_dispatcher) | 67 if (!g_instance_to_dispatcher) |
68 return; | 68 return; |
69 InstanceToDispatcherMap::iterator found = g_instance_to_dispatcher->find( | 69 InstanceToDispatcherMap::iterator found = g_instance_to_dispatcher->find( |
70 instance); | 70 instance); |
71 if (found != g_instance_to_dispatcher->end()) | 71 if (found != g_instance_to_dispatcher->end()) |
72 g_instance_to_dispatcher->erase(found); | 72 g_instance_to_dispatcher->erase(found); |
73 } | 73 } |
74 | 74 |
| 75 bool HostDispatcher::IsPlugin() const { |
| 76 return false; |
| 77 } |
| 78 |
75 } // namespace proxy | 79 } // namespace proxy |
76 } // namespace pp | 80 } // namespace pp |
77 | 81 |
OLD | NEW |