summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/plugin_resource_tracker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/plugin_resource_tracker.cc')
-rw-r--r--ppapi/proxy/plugin_resource_tracker.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/ppapi/proxy/plugin_resource_tracker.cc b/ppapi/proxy/plugin_resource_tracker.cc
index e1726cf..85f8a7d 100644
--- a/ppapi/proxy/plugin_resource_tracker.cc
+++ b/ppapi/proxy/plugin_resource_tracker.cc
@@ -11,6 +11,7 @@
#include "ppapi/proxy/plugin_resource.h"
#include "ppapi/proxy/serialized_var.h"
#include "ppapi/shared_impl/tracker_base.h"
+#include "ppapi/shared_impl/var.h"
namespace pp {
namespace proxy {
@@ -147,6 +148,34 @@ PP_Instance PluginResourceTracker::GetInstanceForResource(
return found->second.resource->instance();
}
+int32 PluginResourceTracker::AddVar(ppapi::Var* var) {
+ // TODO(brettw) implement this when the proxy uses the Var object in the
+ // plugin process.
+ NOTREACHED();
+ return 0;
+}
+
+scoped_refptr<ppapi::Var> PluginResourceTracker::GetVar(int32 var_id) const {
+ // TODO(brettw) implement this when the proxy uses the Var object in the
+ // plugin process.
+ NOTREACHED();
+ return scoped_refptr<ppapi::Var>();
+}
+
+bool PluginResourceTracker::AddRefVar(int32 var_id) {
+ // TODO(brettw) implement this when the proxy uses the Var object in the
+ // plugin process.
+ NOTREACHED();
+ return false;
+}
+
+bool PluginResourceTracker::UnrefVar(int32 var_id) {
+ // TODO(brettw) implement this when the proxy uses the Var object in the
+ // plugin process.
+ NOTREACHED();
+ return false;
+}
+
void PluginResourceTracker::ReleasePluginResourceRef(
const PP_Resource& resource,
bool notify_browser_on_release) {