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

Unified Diff: ppapi/shared_impl/test_globals.h

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.h
===================================================================
--- ppapi/shared_impl/test_globals.h (revision 115831)
+++ ppapi/shared_impl/test_globals.h (working copy)
@@ -6,6 +6,7 @@
#define PPAPI_SHARED_IMPL_TEST_GLOBALS_H_
#include "base/compiler_specific.h"
+#include "ppapi/shared_impl/callback_tracker.h"
#include "ppapi/shared_impl/ppapi_globals.h"
#include "ppapi/shared_impl/resource_tracker.h"
#include "ppapi/shared_impl/var_tracker.h"
@@ -31,6 +32,8 @@
// PpapiGlobals implementation.
virtual ResourceTracker* GetResourceTracker() OVERRIDE;
virtual VarTracker* GetVarTracker() OVERRIDE;
+ virtual CallbackTracker* GetCallbackTrackerForInstance(
+ PP_Instance instance) OVERRIDE;
virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst,
ApiID id) OVERRIDE;
virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
@@ -38,6 +41,7 @@
private:
ResourceTracker resource_tracker_;
TestVarTracker var_tracker_;
+ scoped_refptr<CallbackTracker> callback_tracker_;
DISALLOW_COPY_AND_ASSIGN(TestGlobals);
};

Powered by Google App Engine
This is Rietveld 408576698