diff options
Diffstat (limited to 'chrome/worker/worker_thread.h')
-rw-r--r-- | chrome/worker/worker_thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/worker/worker_thread.h b/chrome/worker/worker_thread.h index 27d0abf..6bea33c 100644 --- a/chrome/worker/worker_thread.h +++ b/chrome/worker/worker_thread.h @@ -5,6 +5,7 @@ #ifndef CHROME_WORKER_WORKER_THREAD_H_ #define CHROME_WORKER_WORKER_THREAD_H_ +#include "base/thread.h" #include "chrome/common/child_thread.h" class GURL; @@ -21,6 +22,10 @@ class WorkerThread : public ChildThread { private: virtual void OnControlMessageReceived(const IPC::Message& msg); + // Called by the thread base class + virtual void Init(); + virtual void CleanUp(); + void OnCreateWorker(const GURL& url, int route_id); scoped_ptr<WorkerWebKitClientImpl> webkit_client_; |