summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 22:53:08 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 22:53:08 +0000
commit19bb672d814c1927874efd9a17c3e24cccb169b5 (patch)
tree6d4f4271a00587260b5e3d617d8e6d89e223cdc1 /webkit/glue
parente72322502b4068e5caae8929646d02a29a00480d (diff)
downloadchromium_src-19bb672d814c1927874efd9a17c3e24cccb169b5.zip
chromium_src-19bb672d814c1927874efd9a17c3e24cccb169b5.tar.gz
chromium_src-19bb672d814c1927874efd9a17c3e24cccb169b5.tar.bz2
Use the new callback tracker and delete the old one
I added some ClearAndRun and ClearAndAbort helper functions to clean up the common pattern of doing a swap to run the callbacks. I was also able to clean up some of the file callbacks stuff since the parameters to the new TrackedCallback are simpler. This fixes a scary bug in the Transport API where all completion callbacks would be aborted for all objects when you close the connection (!) The HostResourceTracker is no longer necessary since the only point of this was to integrate with the callback tracker. I removed it. BUG=74062 TEST= Review URL: http://codereview.chromium.org/9015009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webkit_glue.gypi4
1 files changed, 0 insertions, 4 deletions
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi
index e46f135..52c1ca9 100644
--- a/webkit/glue/webkit_glue.gypi
+++ b/webkit/glue/webkit_glue.gypi
@@ -220,8 +220,6 @@
'../plugins/plugin_switches.h',
'../plugins/ppapi/audio_helper.cc',
'../plugins/ppapi/audio_helper.h',
- '../plugins/ppapi/callbacks.cc',
- '../plugins/ppapi/callbacks.h',
'../plugins/ppapi/common.h',
'../plugins/ppapi/dir_contents.h',
'../plugins/ppapi/event_conversion.cc',
@@ -236,8 +234,6 @@
'../plugins/ppapi/host_array_buffer_var.h',
'../plugins/ppapi/host_globals.cc',
'../plugins/ppapi/host_globals.h',
- '../plugins/ppapi/host_resource_tracker.cc',
- '../plugins/ppapi/host_resource_tracker.h',
'../plugins/ppapi/host_var_tracker.cc',
'../plugins/ppapi/host_var_tracker.h',
'../plugins/ppapi/message_channel.cc',