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

Unified Diff: ppapi/shared_impl/resource_tracker.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nulls auditeed 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/ppapi_shared.gypi ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/resource_tracker.h
diff --git a/ppapi/shared_impl/resource_tracker.h b/ppapi/shared_impl/resource_tracker.h
index 04230d9e13715459b2b9bd5315ae81bc83398d08..b631653c275eaa9fce6809eb3d6b95e1ee16da3d 100644
--- a/ppapi/shared_impl/resource_tracker.h
+++ b/ppapi/shared_impl/resource_tracker.h
@@ -58,6 +58,11 @@ class ResourceTracker {
// the given resource. It's called from the resource destructor.
virtual void RemoveResource(Resource* object);
+ // Calls LastPluginRefWasDeleted on the given resource object. This is
+ // provided because the derived class in webkit/plugins/ppapi needs to
+ // perform additional operations at this time.
+ virtual void LastPluginRefWasDeleted(Resource* object);
+
private:
typedef std::set<PP_Resource> ResourceSet;
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698