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

Side by Side Diff: src/trusted/plugin/ppapi/plugin_ppapi.h

Issue 2981011: Move plugin/srpc contents to the more appropriately named plugin/common.... (Closed) Base URL: http://nativeclient.googlecode.com/svn/trunk/src/native_client/
Patch Set: '' Created 10 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved. 2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 // PPAPI-based implementation of the interface for a plugin instance. 7 // PPAPI-based implementation of the interface for a plugin instance.
8 8
9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_ 9 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_
10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_ 10 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_
11 11
12 #include "native_client/src/trusted/plugin/srpc/plugin.h" 12 #include "native_client/src/trusted/plugin/plugin.h"
13 #include "ppapi/cpp/instance.h" 13 #include "ppapi/cpp/instance.h"
14 14
15 struct NaClSrpcChannel; 15 struct NaClSrpcChannel;
16 16
17 namespace plugin { 17 namespace plugin {
18 18
19 // Encapsulates a PPAPI plugin. 19 // Encapsulates a PPAPI plugin.
20 class PluginPpapi : public pp::Instance, public Plugin { 20 class PluginPpapi : public pp::Instance, public Plugin {
21 public: 21 public:
22 // Factory method for creation. 22 // Factory method for creation.
(...skipping 17 matching lines...) Expand all
40 NACL_DISALLOW_COPY_AND_ASSIGN(PluginPpapi); 40 NACL_DISALLOW_COPY_AND_ASSIGN(PluginPpapi);
41 // Prevent construction and destruction from outside the class: 41 // Prevent construction and destruction from outside the class:
42 // must use factory New() and base's Delete() methods instead. 42 // must use factory New() and base's Delete() methods instead.
43 explicit PluginPpapi(PP_Instance instance); 43 explicit PluginPpapi(PP_Instance instance);
44 virtual ~PluginPpapi(); 44 virtual ~PluginPpapi();
45 }; 45 };
46 46
47 } // namespace plugin 47 } // namespace plugin
48 48
49 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_ 49 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PPAPI_PLUGIN_PPAPI_H_
OLDNEW
« no previous file with comments | « src/trusted/plugin/ppapi/browser_interface_ppapi.h ('k') | src/trusted/plugin/ppapi/scriptable_handle_ppapi.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698