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

Unified Diff: src/shared/ppapi_proxy/plugin_audio.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/nacl.scons ('k') | src/shared/ppapi_proxy/plugin_audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/ppapi_proxy/plugin_audio.h
diff --git a/src/shared/ppapi_proxy/plugin_audio.h b/src/shared/ppapi_proxy/plugin_audio.h
index ceaa79779b70f995b429786b9a21428924e86082..8505e3ff5970788210811890df84fccb736e5f0b 100644
--- a/src/shared/ppapi_proxy/plugin_audio.h
+++ b/src/shared/ppapi_proxy/plugin_audio.h
@@ -8,16 +8,18 @@
#define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_AUDIO_H_
#include "native_client/src/include/nacl_macros.h"
+#include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
#include "ppapi/c/dev/ppb_audio_dev.h"
namespace ppapi_proxy {
// Implements the plugin (i.e., .nexe) side of the PPB_Audio interface.
-class PluginAudio {
+class PluginAudio : public PluginResource {
public:
static const PPB_Audio_Dev* GetInterface();
private:
+ IMPLEMENT_RESOURCE(PluginAudio);
NACL_DISALLOW_COPY_AND_ASSIGN(PluginAudio);
};
« no previous file with comments | « src/shared/ppapi_proxy/nacl.scons ('k') | src/shared/ppapi_proxy/plugin_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698