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

Unified Diff: content/child/child_thread.h

Issue 22815034: Introduce webkit_glue bridges for the new WebSocket Implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | content/child/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698