summaryrefslogtreecommitdiffstats
path: root/chrome/worker/worker_thread.h
diff options
context:
space:
mode:
authorjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 22:06:43 +0000
committerjianli@chromium.org <jianli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 22:06:43 +0000
commitd9056166ac600fd4c261d81a9da1f5ba855e6bd8 (patch)
tree148e4e04c47a1c0b65dbd3f022040259e85acfb9 /chrome/worker/worker_thread.h
parent1a616d92fc1bdafcceda50939e6a5b72f4885a98 (diff)
downloadchromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.zip
chromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.tar.gz
chromium_src-d9056166ac600fd4c261d81a9da1f5ba855e6bd8.tar.bz2
Hook up WebKit worker with Chromium.
Review URL: http://codereview.chromium.org/39147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/worker_thread.h')
-rw-r--r--chrome/worker/worker_thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/worker/worker_thread.h b/chrome/worker/worker_thread.h
index 25ae2f2..c7f9a09 100644
--- a/chrome/worker/worker_thread.h
+++ b/chrome/worker/worker_thread.h
@@ -9,6 +9,7 @@
#include "chrome/common/child_thread.h"
class GURL;
+class WorkerWebKitClientImpl;
class WorkerThread : public ChildThread {
public:
@@ -23,8 +24,14 @@ 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_;
+
DISALLOW_COPY_AND_ASSIGN(WorkerThread);
};