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

Unified Diff: src/shared/ppapi_proxy/plugin_image_data.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_graphics_3d.cc ('k') | src/shared/ppapi_proxy/plugin_image_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_image_data.h
diff --git a/src/shared/ppapi_proxy/plugin_image_data.h b/src/shared/ppapi_proxy/plugin_image_data.h
index 077581e98bdb349d3e9f4bc1ab72724dcee878bc..9392e278acf1d4ec77e1cd237261abbf54e38478 100644
--- a/src/shared/ppapi_proxy/plugin_image_data.h
+++ b/src/shared/ppapi_proxy/plugin_image_data.h
@@ -8,16 +8,17 @@
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_IMAGE_DATA_H_
#include "native_client/src/include/nacl_macros.h"
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
#include "ppapi/c/ppb_image_data.h"
namespace ppapi_proxy {
// Implements the plugin (i.e., .nexe) side of the PPB_ImageData interface.
-class PluginImageData {
+class PluginImageData : public PluginResource {
public:
static const PPB_ImageData* GetInterface();
-
private:
+ IMPLEMENT_RESOURCE(PluginImageData);
NACL_DISALLOW_COPY_AND_ASSIGN(PluginImageData);
};
« no previous file with comments | « src/shared/ppapi_proxy/plugin_graphics_3d.cc ('k') | src/shared/ppapi_proxy/plugin_image_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698