| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "remoting/client/plugin/pepper_entrypoints.h" | 5 #include "remoting/client/plugin/pepper_entrypoints.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 8 #include "ppapi/c/pp_errors.h" | 8 #include "ppapi/c/pp_errors.h" |
| 9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
| 10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.h" |
| 11 #include "ppapi/c/ppb_instance.h" | 11 #include "ppapi/c/ppb_instance.h" |
| 12 #include "ppapi/cpp/instance.h" | 12 #include "ppapi/cpp/instance.h" |
| 13 #include "ppapi/cpp/module.h" | 13 #include "ppapi/cpp/module.h" |
| 14 #include "remoting/client/plugin/chromoting_instance.h" | 14 #include "remoting/client/plugin/chromoting_instance.h" |
| 15 | 15 |
| 16 static pp::Module* g_module_singleton = NULL; | 16 static pp::Module* g_module_singleton = NULL; |
| 17 | 17 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 return pp::Module::Get()->GetPluginInterface(interface_name); | 62 return pp::Module::Get()->GetPluginInterface(interface_name); |
| 63 } | 63 } |
| 64 | 64 |
| 65 const void* PPP_GetBrowserInterface(const char* interface_name) { | 65 const void* PPP_GetBrowserInterface(const char* interface_name) { |
| 66 if (!pp::Module::Get()) | 66 if (!pp::Module::Get()) |
| 67 return NULL; | 67 return NULL; |
| 68 return pp::Module::Get()->GetBrowserInterface(interface_name); | 68 return pp::Module::Get()->GetBrowserInterface(interface_name); |
| 69 } | 69 } |
| 70 | 70 |
| 71 } // namespace remoting | 71 } // namespace remoting |
| OLD | NEW |