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

Unified Diff: ppapi/shared_impl/test_globals.h

Issue 8930010: Implement in-process PPB_VarArrayBuffer_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Some pre-review cleanup. Created 9 years 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
Index: ppapi/shared_impl/test_globals.h
diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h
index d5d143934cca30d11f9cb8d61a9e38d81c5a9864..f26df7f17ed8f8be2f905f60e0f680f48dc8a97f 100644
--- a/ppapi/shared_impl/test_globals.h
+++ b/ppapi/shared_impl/test_globals.h
@@ -12,6 +12,15 @@
namespace ppapi {
+class TestVarTracker : public VarTracker {
+ public:
+ TestVarTracker() {}
brettw 2011/12/15 00:19:51 Need one less space of indent
+ virtual ~TestVarTracker() {}
+ virtual ArrayBufferVar* CreateArrayBuffer(uint32 size_in_bytes) OVERRIDE {
+ return NULL;
+ }
+};
+
// Implementation of PpapiGlobals for tests that don't need either the host- or
// plugin-specific implementations.
class TestGlobals : public PpapiGlobals {
@@ -28,7 +37,7 @@ class TestGlobals : public PpapiGlobals {
private:
ResourceTracker resource_tracker_;
- VarTracker var_tracker_;
+ TestVarTracker var_tracker_;
DISALLOW_COPY_AND_ASSIGN(TestGlobals);
};

Powered by Google App Engine
This is Rietveld 408576698