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

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 comments 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') | content/child/websocket_message_filter.h » ('J')
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 5a59f363e328840ebd79943c3697e72bc1ad0655..cbd00dd70424e059d8ea4f9e1f53781b6626600f 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.
@@ -171,6 +172,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.
@@ -273,6 +278,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') | content/child/websocket_message_filter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698