diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 23:12:52 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 23:12:52 +0000 |
commit | 5658a60a850150c146906932f302bbf0cf8b9684 (patch) | |
tree | 184d74b274283eaf81550639c4fe9f4d0361d8b2 /chrome/browser/renderer_host/buffered_resource_handler.h | |
parent | 79084c2d01586797f762cbb308cb2c204dd9a164 (diff) | |
download | chromium_src-5658a60a850150c146906932f302bbf0cf8b9684.zip chromium_src-5658a60a850150c146906932f302bbf0cf8b9684.tar.gz chromium_src-5658a60a850150c146906932f302bbf0cf8b9684.tar.bz2 |
Use ChromeThread::DeleteOnIOThread in a few places where an object must be deleted on a certain thread.
BUG=25354
Review URL: http://codereview.chromium.org/342090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/buffered_resource_handler.h')
-rw-r--r-- | chrome/browser/renderer_host/buffered_resource_handler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/buffered_resource_handler.h b/chrome/browser/renderer_host/buffered_resource_handler.h index fa0e249..52608cc 100644 --- a/chrome/browser/renderer_host/buffered_resource_handler.h +++ b/chrome/browser/renderer_host/buffered_resource_handler.h @@ -62,10 +62,10 @@ class BufferedResourceHandler : public ResourceHandler { bool ShouldDownload(bool* need_plugin_list); // Called on the file thread to load the list of plugins. - static void LoadPlugins(BufferedResourceHandler* handler); + void LoadPlugins(); // Called on the IO thread once the list of plugins has been loaded. - static void OnPluginsLoaded(BufferedResourceHandler* handler); + void OnPluginsLoaded(); scoped_refptr<ResourceHandler> real_handler_; scoped_refptr<ResourceResponse> response_; |