| Index: ppapi/proxy/plugin_resource_tracker.cc
|
| ===================================================================
|
| --- ppapi/proxy/plugin_resource_tracker.cc (revision 96002)
|
| +++ ppapi/proxy/plugin_resource_tracker.cc (working copy)
|
| @@ -148,34 +148,10 @@
|
| 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;
|
| +ppapi::VarTracker* PluginResourceTracker::GetVarTracker() {
|
| + return &var_tracker();
|
| }
|
|
|
| -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) {
|
|
|