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

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: Rebase + #include order 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
jvoung (off chromium) 2015/01/28 22:18:17 Hmm never noticed that this doesn't have an includ
Mark Seaborn 2015/01/29 05:35:06 Good point. I've added one.
7 #include "ppapi/c/private/ppb_nacl_private.h" 7 #include "ppapi/c/private/ppb_nacl_private.h"
8 #include "ppapi/cpp/module.h" 8 #include "ppapi/cpp/module.h"
9 9
10 namespace plugin { 10 namespace plugin {
11 11
12 class ModulePpapi : public pp::Module { 12 class ModulePpapi : public pp::Module {
13 public: 13 public:
14 ModulePpapi(); 14 ModulePpapi();
15 15
16 ~ModulePpapi() override; 16 ~ModulePpapi() override;
17 17
18 bool Init() override; 18 bool Init() override;
19 19
20 pp::Instance* CreateInstance(PP_Instance pp_instance) override; 20 pp::Instance* CreateInstance(PP_Instance pp_instance) override;
21 21
22 private: 22 private:
23 bool init_was_successful_; 23 bool init_was_successful_;
24 const PPB_NaCl_Private* private_interface_; 24 const PPB_NaCl_Private* private_interface_;
25 }; 25 };
26 26
27 } // namespace plugin 27 } // namespace plugin
28 28
29 29
30 namespace pp { 30 namespace pp {
31 31
32 Module* CreateModule(); 32 Module* CreateModule();
33 33
34 } // namespace pp 34 } // namespace pp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698