summaryrefslogtreecommitdiffstats
path: root/chrome/worker/worker_thread.h
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 01:30:08 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 01:30:08 +0000
commit2b437e23748d7444f1698ae9242fabf0bc0730a7 (patch)
tree40a740c3f0a8032e30299d8724e54d9a269291af /chrome/worker/worker_thread.h
parente0976a77dcc9be00485086b5b0e112fe6d159ff2 (diff)
downloadchromium_src-2b437e23748d7444f1698ae9242fabf0bc0730a7.zip
chromium_src-2b437e23748d7444f1698ae9242fabf0bc0730a7.tar.gz
chromium_src-2b437e23748d7444f1698ae9242fabf0bc0730a7.tar.bz2
Changes to the Browser to support Database access from Workers.
This changelist should have no visible effect until the V8 bindings for the Database get added to the Worker context in WebKit. BUG=none TEST=webkit layout tests Review URL: http://codereview.chromium.org/1387001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/worker/worker_thread.h')
-rw-r--r--chrome/worker/worker_thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/worker/worker_thread.h b/chrome/worker/worker_thread.h
index 0a0feae..727316c 100644
--- a/chrome/worker/worker_thread.h
+++ b/chrome/worker/worker_thread.h
@@ -10,6 +10,8 @@
#include "chrome/common/child_thread.h"
class GURL;
+class DBMessageFilter;
+class WebDatabaseObserverImpl;
class WebWorkerStubBase;
class WorkerWebKitClientImpl;
@@ -26,6 +28,8 @@ class WorkerThread : public ChildThread {
void RemoveWorkerStub(WebWorkerStubBase* stub);
private:
+ scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
+
virtual void OnControlMessageReceived(const IPC::Message& msg);
virtual void OnChannelError();
@@ -34,6 +38,8 @@ class WorkerThread : public ChildThread {
scoped_ptr<WorkerWebKitClientImpl> webkit_client_;
+ scoped_refptr<DBMessageFilter> db_message_filter_;
+
typedef std::set<WebWorkerStubBase*> WorkerStubsList;
WorkerStubsList worker_stubs_;