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

Unified Diff: chrome/browser/worker_host/worker_service.cc

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
« no previous file with comments | « chrome/browser/worker_host/worker_service.h ('k') | chrome/common/histogram_synchronizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/worker_host/worker_service.cc
===================================================================
--- chrome/browser/worker_host/worker_service.cc (revision 30650)
+++ chrome/browser/worker_host/worker_service.cc (working copy)
@@ -28,8 +28,7 @@
WorkerService::WorkerService()
: next_worker_route_id_(0),
- resource_dispatcher_host_(NULL),
- ui_loop_(NULL) {
+ resource_dispatcher_host_(NULL) {
// Receive a notification if a message filter or WorkerProcessHost is deleted.
registrar_.Add(this, NotificationType::RESOURCE_MESSAGE_FILTER_SHUTDOWN,
NotificationService::AllSources());
@@ -38,10 +37,8 @@
NotificationService::AllSources());
}
-void WorkerService::Initialize(ResourceDispatcherHost* rdh,
- MessageLoop* ui_loop) {
+void WorkerService::Initialize(ResourceDispatcherHost* rdh) {
resource_dispatcher_host_ = rdh;
- ui_loop_ = ui_loop;
}
WorkerService::~WorkerService() {
« no previous file with comments | « chrome/browser/worker_host/worker_service.h ('k') | chrome/common/histogram_synchronizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698