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

Unified Diff: ppapi/proxy/plugin_resource_tracker.cc

Issue 7578001: Unify var tracking between webkit and the proxy. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/proxy/plugin_resource_tracker.h ('k') | ppapi/proxy/plugin_var_serialization_rules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « ppapi/proxy/plugin_resource_tracker.h ('k') | ppapi/proxy/plugin_var_serialization_rules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698