From f2330fe08ed5e92b52c6c90d2230fe678e07eb17 Mon Sep 17 00:00:00 2001 From: "dimich@google.com" Date: Tue, 16 Jun 2009 00:37:09 +0000 Subject: Make XHR work in Workers. Creates a 'shadow page' in a worker process to proxy the loading requests through. BUG=4361 TEST=none Review URL: http://codereview.chromium.org/126070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18465 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/child_thread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chrome/common') diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index f612c35..cc4abaa 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -34,6 +34,9 @@ class ChildThread : public IPC::Channel::Listener, return resource_dispatcher_.get(); } + // Returns the one child thread. + static ChildThread* current(); + protected: friend class ChildProcess; @@ -52,9 +55,6 @@ class ChildThread : public IPC::Channel::Listener, virtual void OnControlMessageReceived(const IPC::Message& msg) { } - // Returns the one child thread. - static ChildThread* current(); - IPC::SyncChannel* channel() { return channel_.get(); } // Thread implementation. -- cgit v1.1