Index: ppapi/shared_impl/test_globals.h |
diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h |
index 9c58fd3f4707d9b26ebce08b54178df8084029af..56a5284ac5e56662f5b5aa7647935857922490db 100644 |
--- a/ppapi/shared_impl/test_globals.h |
+++ b/ppapi/shared_impl/test_globals.h |
@@ -8,12 +8,13 @@ |
#include "base/compiler_specific.h" |
#include "ppapi/shared_impl/callback_tracker.h" |
#include "ppapi/shared_impl/ppapi_globals.h" |
+#include "ppapi/shared_impl/ppapi_shared_export.h" |
#include "ppapi/shared_impl/resource_tracker.h" |
#include "ppapi/shared_impl/var_tracker.h" |
namespace ppapi { |
-class TestVarTracker : public VarTracker { |
+class PPAPI_SHARED_EXPORT TestVarTracker : public VarTracker { |
public: |
TestVarTracker() {} |
virtual ~TestVarTracker() {} |
@@ -24,9 +25,10 @@ class TestVarTracker : public VarTracker { |
// Implementation of PpapiGlobals for tests that don't need either the host- or |
// plugin-specific implementations. |
-class TestGlobals : public PpapiGlobals { |
+class PPAPI_SHARED_EXPORT TestGlobals : public PpapiGlobals { |
public: |
TestGlobals(); |
+ TestGlobals(PpapiGlobals::ForTest); |
virtual ~TestGlobals(); |
// PpapiGlobals implementation. |
@@ -37,6 +39,7 @@ class TestGlobals : public PpapiGlobals { |
virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, |
ApiID id) OVERRIDE; |
virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; |
+ virtual base::Lock* GetProxyLock() OVERRIDE; |
private: |
ResourceTracker resource_tracker_; |