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

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

Issue 353015: Last patch in removing MessageLoop* caching. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/resource_dispatcher_host.h
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host.h (revision 30863)
+++ chrome/browser/renderer_host/resource_dispatcher_host.h (working copy)
@@ -31,7 +31,6 @@
class DownloadFileManager;
class DownloadRequestManager;
class LoginHandler;
-class MessageLoop;
class PluginService;
class ResourceDispatcherHostRequestInfo;
class ResourceHandler;
@@ -105,8 +104,7 @@
}
};
- // TODO(jam): take the parameter out once 25354 is done.
- explicit ResourceDispatcherHost(MessageLoop* io_loop);
+ ResourceDispatcherHost();
~ResourceDispatcherHost();
void Initialize();
@@ -193,8 +191,6 @@
return webkit_thread_.get();
}
- MessageLoop* ui_loop() const { return ui_loop_; }
-
// Called when the onunload handler for a cross-site request has finished.
void OnClosePageACK(const ViewMsg_ClosePage_Params& params);
@@ -411,13 +407,6 @@
PendingRequestList pending_requests_;
- // We cache the UI message loop so we can create new UI-related objects on it.
- MessageLoop* ui_loop_;
-
- // We cache the IO loop to ensure that GetURLRequest is only called from the
- // IO thread.
- MessageLoop* io_loop_;
-
// A timer that periodically calls UpdateLoadStates while pending_requests_
// is not empty.
base::RepeatingTimer<ResourceDispatcherHost> update_load_states_timer_;
« no previous file with comments | « chrome/browser/renderer_host/database_dispatcher_host.cc ('k') | chrome/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698