1/* 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. 5 */ 6 7#include "ppapi/c/private/ppb_nacl_private.h" 8#include "ppapi/cpp/module.h" 9 10namespace plugin { 11 12class ModulePpapi : public pp::Module { 13 public: 14 ModulePpapi(); 15 16 virtual ~ModulePpapi(); 17 18 virtual bool Init(); 19 20 virtual pp::Instance* CreateInstance(PP_Instance pp_instance); 21 22 private: 23 bool init_was_successful_; 24 const PPB_NaCl_Private* private_interface_; 25}; 26 27} // namespace plugin 28 29 30namespace pp { 31 32Module* CreateModule(); 33 34} // namespace pp 35