xref: /aosp_15_r20/external/cronet/components/nacl/renderer/plugin/ppapi_entrypoints.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_
6 #define COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_
7 
8 #include "ppapi/c/pp_module.h"
9 #include "ppapi/c/ppb.h"
10 
11 // Provides entry points for the trusted plugin.
12 namespace nacl_plugin {
13 
14 int PPP_InitializeModule(PP_Module module,
15                          PPB_GetInterface get_browser_interface);
16 const void* PPP_GetInterface(const char* interface_name);
17 void PPP_ShutdownModule();
18 
19 }  // namespace nacl_plugin
20 
21 #endif  // COMPONENTS_NACL_RENDERER_PLUGIN_PPAPI_ENTRYPOINTS_H_
22