2 * Copyright (c) 2013 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
7 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
8 #define COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
10 #include "components/nacl/renderer/ppb_nacl_private.h"
11 #include "ppapi/cpp/module.h"
15 class ModulePpapi
: public pp::Module
{
19 ~ModulePpapi() override
;
23 pp::Instance
* CreateInstance(PP_Instance pp_instance
) override
;
26 bool init_was_successful_
;
27 const PPB_NaCl_Private
* private_interface_
;
35 Module
* CreateModule();
39 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_