OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ | 5 #ifndef PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_ |
6 #define PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ | 6 #define PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_ |
7 | 7 |
8 #include "ppapi/c/pp_module.h" | 8 #include "ppapi/c/pp_module.h" |
9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
10 | 10 |
11 // Provides entry points for the trusted plugin. | 11 // Provides entry points for the trusted plugin. |
12 namespace nacl_plugin { | 12 namespace nacl_plugin { |
13 | 13 |
14 int PPP_InitializeModule(PP_Module module, | 14 int PPP_InitializeModule(PP_Module module, |
15 PPB_GetInterface get_browser_interface); | 15 PPB_GetInterface get_browser_interface); |
16 const void* PPP_GetInterface(const char* interface_name); | 16 const void* PPP_GetInterface(const char* interface_name); |
17 void PPP_ShutdownModule(); | 17 void PPP_ShutdownModule(); |
18 | 18 |
19 } // namespace nacl_plugin | 19 } // namespace nacl_plugin |
20 | 20 |
21 #endif // PPAPI_NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_ENTRYPOINTS_H_ | 21 #endif // PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_ |
OLD | NEW |