| Index: chrome/browser/worker_host/worker_service.h
|
| ===================================================================
|
| --- chrome/browser/worker_host/worker_service.h (revision 30650)
|
| +++ chrome/browser/worker_host/worker_service.h (working copy)
|
| @@ -14,8 +14,6 @@
|
| #include "googleurl/src/gurl.h"
|
| #include "ipc/ipc_message.h"
|
|
|
| -
|
| -class MessageLoop;
|
| class WorkerProcessHost;
|
| class ResourceDispatcherHost;
|
|
|
| @@ -25,7 +23,7 @@
|
| static WorkerService* GetInstance();
|
|
|
| // Initialize the WorkerService. OK to be called multiple times.
|
| - void Initialize(ResourceDispatcherHost* rdh, MessageLoop* ui_loop);
|
| + void Initialize(ResourceDispatcherHost* rdh);
|
|
|
| // Creates a dedicated worker. Returns true on success.
|
| bool CreateDedicatedWorker(const GURL &url,
|
| @@ -42,8 +40,6 @@
|
| // forwarded to the worker process.
|
| void ForwardMessage(const IPC::Message& message, int sender_id);
|
|
|
| - MessageLoop* ui_loop() { return ui_loop_; }
|
| -
|
| int next_worker_route_id() { return ++next_worker_route_id_; }
|
|
|
| // TODO(dimich): This code assumes there is 1 worker per worker process, which
|
| @@ -95,7 +91,6 @@
|
| NotificationRegistrar registrar_;
|
| int next_worker_route_id_;
|
| ResourceDispatcherHost* resource_dispatcher_host_;
|
| - MessageLoop* ui_loop_;
|
|
|
| WorkerProcessHost::Instances queued_workers_;
|
|
|
|
|