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

Unified Diff: ppapi/shared_impl/test_globals.cc

Issue 9034035: Make it possible to have 1 PpapiGlobals per thread. Update unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. Created 8 years, 11 months 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 | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/var_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/test_globals.cc
diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc
index e870e5cc5c4c7047dbcc222a2ee4a711828514de..3122f759a30f00f771111caa40f550868b5b3101 100644
--- a/ppapi/shared_impl/test_globals.cc
+++ b/ppapi/shared_impl/test_globals.cc
@@ -11,6 +11,11 @@ TestGlobals::TestGlobals()
callback_tracker_(new CallbackTracker) {
}
+TestGlobals::TestGlobals(PpapiGlobals::ForTest for_test)
+ : ppapi::PpapiGlobals(for_test),
+ callback_tracker_(new CallbackTracker) {
+}
+
TestGlobals::~TestGlobals() {
}
@@ -35,4 +40,8 @@ PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) {
return 0;
}
+base::Lock* TestGlobals::GetProxyLock() {
+ return NULL;
+}
+
} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/test_globals.h ('k') | ppapi/shared_impl/var_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698