Componentize component_updater: Copy over test data with executable bit.
[chromium-blink-merge.git] / ppapi / native_client / src / trusted / plugin / module_ppapi.h
blobee7bd1980eeb2003d900174ba834c39d74669189
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 */
7 #include "ppapi/c/private/ppb_nacl_private.h"
8 #include "ppapi/cpp/module.h"
10 namespace plugin {
12 class ModulePpapi : public pp::Module {
13 public:
14 ModulePpapi();
16 virtual ~ModulePpapi();
18 virtual bool Init();
20 virtual pp::Instance* CreateInstance(PP_Instance pp_instance);
22 private:
23 bool init_was_successful_;
24 const PPB_NaCl_Private* private_interface_;
27 } // namespace plugin
30 namespace pp {
32 Module* CreateModule();
34 } // namespace pp