| Index: content/child/child_thread.h
|
| diff --git a/content/child/child_thread.h b/content/child/child_thread.h
|
| index b2095abf5014e749abec50e1942e9ee70d2bdfb7..94918febd1c0cb8d4b01ac9a4d17cc7638157560 100644
|
| --- a/content/child/child_thread.h
|
| +++ b/content/child/child_thread.h
|
| @@ -42,6 +42,7 @@ class QuotaMessageFilter;
|
| class ResourceDispatcher;
|
| class SocketStreamDispatcher;
|
| class ThreadSafeSender;
|
| +class WebSocketDispatcher;
|
|
|
| // The main thread of a child process derives from this class.
|
| class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
|
| @@ -91,6 +92,10 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
|
| return socket_stream_dispatcher_.get();
|
| }
|
|
|
| + WebSocketDispatcher* websocket_dispatcher() const {
|
| + return websocket_dispatcher_.get();
|
| + }
|
| +
|
| FileSystemDispatcher* file_system_dispatcher() const {
|
| return file_system_dispatcher_.get();
|
| }
|
| @@ -180,6 +185,8 @@ class CONTENT_EXPORT ChildThread : public IPC::Listener, public IPC::Sender {
|
| // Handles SocketStream for this process.
|
| scoped_ptr<SocketStreamDispatcher> socket_stream_dispatcher_;
|
|
|
| + scoped_ptr<WebSocketDispatcher> websocket_dispatcher_;
|
| +
|
| // The OnChannelError() callback was invoked - the channel is dead, don't
|
| // attempt to communicate.
|
| bool on_channel_error_called_;
|
|
|