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

Unified Diff: chrome/browser/renderer_host/buffered_resource_handler.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/browser/renderer_host/buffered_resource_handler.h
===================================================================
--- chrome/browser/renderer_host/buffered_resource_handler.h (revision 30650)
+++ chrome/browser/renderer_host/buffered_resource_handler.h (working copy)
@@ -62,15 +62,10 @@
bool ShouldDownload(bool* need_plugin_list);
// Called on the file thread to load the list of plugins.
- static void LoadPlugins(BufferedResourceHandler* handler,
- MessageLoop* main_message_loop);
+ static void LoadPlugins(BufferedResourceHandler* handler);
- // Runs on the main thread to notify the IO thread that plugins have been
- // loaded. This is needed since the file thread outlives the IO thread.
- static void NotifyPluginsLoaded(BufferedResourceHandler* handler);
-
// Called on the IO thread once the list of plugins has been loaded.
- void OnPluginsLoaded();
+ static void OnPluginsLoaded(BufferedResourceHandler* handler);
scoped_refptr<ResourceHandler> real_handler_;
scoped_refptr<ResourceResponse> response_;
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698