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

Unified Diff: src/shared/ppapi_proxy/plugin_buffer.h

Issue 4210003: Started on Resource class. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Resource->PluginResource Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/ppapi_proxy/plugin_audio_config.cc ('k') | src/shared/ppapi_proxy/plugin_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_buffer.h
diff --git a/src/shared/ppapi_proxy/plugin_buffer.h b/src/shared/ppapi_proxy/plugin_buffer.h
index a70f423e08cc69757cbc4302791d43e8f92126f4..3dafcbe990d659e52a314c007d3f2d20c45f890d 100644
--- a/src/shared/ppapi_proxy/plugin_buffer.h
+++ b/src/shared/ppapi_proxy/plugin_buffer.h
@@ -8,16 +8,18 @@
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_BUFFER_H_
#include "native_client/src/include/nacl_macros.h"
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
#include "ppapi/c/dev/ppb_buffer_dev.h"
namespace ppapi_proxy {
// Implements the plugin (i.e., .nexe) side of the PPB_Buffer interface.
-class PluginBuffer {
+class PluginBuffer : public PluginResource {
public:
static const PPB_Buffer_Dev* GetInterface();
private:
+ IMPLEMENT_RESOURCE(PluginBuffer);
NACL_DISALLOW_COPY_AND_ASSIGN(PluginBuffer);
};
« no previous file with comments | « src/shared/ppapi_proxy/plugin_audio_config.cc ('k') | src/shared/ppapi_proxy/plugin_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698