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

Unified Diff: content/child/child_thread_impl.h

Issue 2000113002: Delegate WebSocket message handlers to the loading task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment Created 4 years, 7 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 | « no previous file | 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 da51e2b48154d597044464918232bc6bc0416e61..002f753e1a10c81f161f026e359acadaa6410903 100644
--- a/content/child/child_thread_impl.h
+++ b/content/child/child_thread_impl.h
@@ -57,6 +57,7 @@ class QuotaMessageFilter;
class ResourceDispatcher;
class ThreadSafeSender;
class WebSocketDispatcher;
+class WebSocketMessageFilter;
struct RequestInfo;
// The main thread of a child process derives from this class.
@@ -174,6 +175,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.
@@ -276,6 +281,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 | « no previous file | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698