| Index: content/child/child_thread_impl.h
|
| diff --git a/content/child/child_thread_impl.h b/content/child/child_thread_impl.h
|
| index 94bd0ba3a76112276d26426d75975b9ee733f7b6..ae2fa203fecd7d5fffb15ed5a2853d69887af8b1 100644
|
| --- a/content/child/child_thread_impl.h
|
| +++ b/content/child/child_thread_impl.h
|
| @@ -64,6 +64,8 @@ class QuotaDispatcher;
|
| class QuotaMessageFilter;
|
| class ResourceDispatcher;
|
| class ThreadSafeSender;
|
| +class WebSocketDispatcher;
|
| +class WebSocketMessageFilter;
|
| struct RequestInfo;
|
|
|
| // The main thread of a child process derives from this class.
|
| @@ -137,6 +139,10 @@ class CONTENT_EXPORT ChildThreadImpl
|
| return resource_dispatcher_.get();
|
| }
|
|
|
| + WebSocketDispatcher* websocket_dispatcher() const {
|
| + return websocket_dispatcher_.get();
|
| + }
|
| +
|
| FileSystemDispatcher* file_system_dispatcher() const {
|
| return file_system_dispatcher_.get();
|
| }
|
| @@ -180,6 +186,10 @@ class CONTENT_EXPORT ChildThreadImpl
|
| return resource_message_filter_.get();
|
| }
|
|
|
| + WebSocketMessageFilter* websocket_message_filter() const {
|
| + return websocket_message_filter_.get();
|
| + }
|
| +
|
| base::MessageLoop* message_loop() const { return message_loop_; }
|
|
|
| // Returns the one child thread. Can only be called on the main thread.
|
| @@ -266,6 +276,8 @@ class CONTENT_EXPORT ChildThreadImpl
|
| // Handles resource loads for this process.
|
| std::unique_ptr<ResourceDispatcher> resource_dispatcher_;
|
|
|
| + std::unique_ptr<WebSocketDispatcher> websocket_dispatcher_;
|
| +
|
| // The OnChannelError() callback was invoked - the channel is dead, don't
|
| // attempt to communicate.
|
| bool on_channel_error_called_;
|
| @@ -284,6 +296,8 @@ class CONTENT_EXPORT ChildThreadImpl
|
|
|
| scoped_refptr<QuotaMessageFilter> quota_message_filter_;
|
|
|
| + scoped_refptr<WebSocketMessageFilter> websocket_message_filter_;
|
| +
|
| scoped_refptr<NotificationDispatcher> notification_dispatcher_;
|
|
|
| scoped_refptr<PushDispatcher> push_dispatcher_;
|
|
|