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

Unified Diff: ppapi/shared_impl/test_globals.cc

Issue 9006055: Move the tracked completion callback code into shared impl. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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.cc
===================================================================
--- ppapi/shared_impl/test_globals.cc (revision 115831)
+++ ppapi/shared_impl/test_globals.cc (working copy)
@@ -7,6 +7,7 @@
namespace ppapi {
TestGlobals::TestGlobals() : ppapi::PpapiGlobals() {
+ callback_tracker_ = new CallbackTracker;
viettrungluu 2011/12/29 03:45:27 -> initializer list?
}
TestGlobals::~TestGlobals() {
@@ -20,6 +21,11 @@
return &var_tracker_;
}
+CallbackTracker* TestGlobals::GetCallbackTrackerForInstance(
+ PP_Instance /* instance */) {
viettrungluu 2011/12/29 03:45:27 ...
+ return callback_tracker_.get();
+}
+
FunctionGroupBase* TestGlobals::GetFunctionAPI(PP_Instance inst, ApiID id) {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698