Index: ppapi/shared_impl/test_globals.h |
diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h |
index 082af34b26c2de457cca0c9f2fb0d82351bfff6a..c2780c3fa418ec1e96c33070a7f14955314493b3 100644 |
--- a/ppapi/shared_impl/test_globals.h |
+++ b/ppapi/shared_impl/test_globals.h |
@@ -49,6 +49,8 @@ class TestGlobals : public PpapiGlobals { |
explicit TestGlobals(PpapiGlobals::PerThreadForTest); |
virtual ~TestGlobals(); |
+ void set_proxy_lock(base::Lock* lock) { lock_ = lock; } |
+ |
// PpapiGlobals implementation. |
virtual ResourceTracker* GetResourceTracker() OVERRIDE; |
virtual VarTracker* GetVarTracker() OVERRIDE; |
@@ -80,6 +82,7 @@ class TestGlobals : public PpapiGlobals { |
ResourceTracker resource_tracker_; |
TestVarTracker var_tracker_; |
scoped_refptr<CallbackTracker> callback_tracker_; |
+ base::Lock* lock_; |
DISALLOW_COPY_AND_ASSIGN(TestGlobals); |
}; |