Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Unified Diff: content/child/child_thread_impl.h

Issue 2225133002: Revert "Port WebSockets to Mojo IPC" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698