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

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

Issue 911463003: NaCl cleanup: Move ppb_nacl_private.h into components/nacl/renderer/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.h ('k') | components/nacl/renderer/plugin/plugin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ 7 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
8 #define COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_ 8 #define COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
9 9
10 #include "ppapi/c/private/ppb_nacl_private.h" 10 #include "components/nacl/renderer/ppb_nacl_private.h"
11 #include "ppapi/cpp/module.h" 11 #include "ppapi/cpp/module.h"
12 12
13 namespace plugin { 13 namespace plugin {
14 14
15 class ModulePpapi : public pp::Module { 15 class ModulePpapi : public pp::Module {
16 public: 16 public:
17 ModulePpapi(); 17 ModulePpapi();
18 18
19 ~ModulePpapi() override; 19 ~ModulePpapi() override;
20 20
21 bool Init() override; 21 bool Init() override;
22 22
23 pp::Instance* CreateInstance(PP_Instance pp_instance) override; 23 pp::Instance* CreateInstance(PP_Instance pp_instance) override;
24 24
25 private: 25 private:
26 bool init_was_successful_; 26 bool init_was_successful_;
27 const PPB_NaCl_Private* private_interface_; 27 const PPB_NaCl_Private* private_interface_;
28 }; 28 };
29 29
30 } // namespace plugin 30 } // namespace plugin
31 31
32 32
33 namespace pp { 33 namespace pp {
34 34
35 Module* CreateModule(); 35 Module* CreateModule();
36 36
37 } // namespace pp 37 } // namespace pp
38 38
39 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_ 39 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_MODULE_PPAPI_H_
OLDNEW
« no previous file with comments | « components/nacl/renderer/nexe_load_manager.h ('k') | components/nacl/renderer/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698