diff options
Diffstat (limited to 'chrome/common/child_thread.h')
-rw-r--r-- | chrome/common/child_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
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. |