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

Unified Diff: webkit/plugins/ppapi/plugin_module.h

Issue 9015009: Use the new callback tracker and delete the old one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add IsPending Created 8 years, 12 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 | « webkit/plugins/ppapi/host_resource_tracker.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/plugin_module.h
diff --git a/webkit/plugins/ppapi/plugin_module.h b/webkit/plugins/ppapi/plugin_module.h
index 708c8ace62eec34a37569a12c48ab33bf1a8e45e..c1e1c02435c4d72e7c681947b7a63784306f149e 100644
--- a/webkit/plugins/ppapi/plugin_module.h
+++ b/webkit/plugins/ppapi/plugin_module.h
@@ -35,7 +35,6 @@ class WebKitForwarding;
namespace webkit {
namespace ppapi {
-class CallbackTracker;
class PluginDelegate;
class PluginInstance;
@@ -117,8 +116,7 @@ class WEBKIT_PLUGINS_EXPORT PluginModule :
void InstanceCreated(PluginInstance* instance);
void InstanceDeleted(PluginInstance* instance);
- scoped_refptr<CallbackTracker> GetCallbackTracker();
- scoped_refptr< ::ppapi::CallbackTracker> GetNewCallbackTracker();
+ scoped_refptr< ::ppapi::CallbackTracker> GetCallbackTracker();
// Called when running out of process and the plugin crashed. This will
// release relevant resources and update all affected instances.
@@ -156,10 +154,6 @@ class WEBKIT_PLUGINS_EXPORT PluginModule :
// Tracker for completion callbacks, used mainly to ensure that all callbacks
// are properly aborted on module shutdown.
- //
- // TODO(brettw) remove this in favor of the ::ppapi:: one below.
- scoped_refptr<CallbackTracker> old_callback_tracker_;
-
scoped_refptr< ::ppapi::CallbackTracker> callback_tracker_;
PP_Module pp_module_;
« no previous file with comments | « webkit/plugins/ppapi/host_resource_tracker.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698