Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: components/nacl/renderer/plugin/module_ppapi.h

Issue 876483002: NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update #include guards Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
8 #define COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
9
7 #include "ppapi/c/private/ppb_nacl_private.h" 10 #include "ppapi/c/private/ppb_nacl_private.h"
8 #include "ppapi/cpp/module.h" 11 #include "ppapi/cpp/module.h"
9 12
10 namespace plugin { 13 namespace plugin {
11 14
12 class ModulePpapi : public pp::Module { 15 class ModulePpapi : public pp::Module {
13 public: 16 public:
14 ModulePpapi(); 17 ModulePpapi();
15 18
16 ~ModulePpapi() override; 19 ~ModulePpapi() override;
17 20
18 bool Init() override; 21 bool Init() override;
19 22
20 pp::Instance* CreateInstance(PP_Instance pp_instance) override; 23 pp::Instance* CreateInstance(PP_Instance pp_instance) override;
21 24
22 private: 25 private:
23 bool init_was_successful_; 26 bool init_was_successful_;
24 const PPB_NaCl_Private* private_interface_; 27 const PPB_NaCl_Private* private_interface_;
25 }; 28 };
26 29
27 } // namespace plugin 30 } // namespace plugin
28 31
29 32
30 namespace pp { 33 namespace pp {
31 34
32 Module* CreateModule(); 35 Module* CreateModule();
33 36
34 } // namespace pp 37 } // namespace pp
38
39 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698