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

Unified Diff: chrome/common/socket_stream_dispatcher.cc

Issue 1625015: Refactor ChildProcess and related classes to create a framework outside of br... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 8 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 | « chrome/common/plugin_messages_internal.h ('k') | chrome/gpu/gpu_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/socket_stream_dispatcher.cc
===================================================================
--- chrome/common/socket_stream_dispatcher.cc (revision 44239)
+++ chrome/common/socket_stream_dispatcher.cc (working copy)
@@ -8,7 +8,7 @@
#include "base/id_map.h"
#include "base/ref_counted.h"
-#include "chrome/common/child_thread.h"
+#include "base/mp/mp_child_thread.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/net/socket_stream.h"
#include "googleurl/src/gurl.h"
@@ -21,7 +21,7 @@
: public webkit_glue::WebSocketStreamHandleBridge {
public:
IPCWebSocketStreamHandleBridge(
- ChildThread* child_thread,
+ base::MpChildThread* child_thread,
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate)
: socket_id_(chrome_common_net::kNoSocketId),
@@ -49,7 +49,7 @@
void DoConnect(const GURL& url);
int socket_id_;
- ChildThread* child_thread_;
+ base::MpChildThread* child_thread_;
WebKit::WebSocketStreamHandle* handle_;
webkit_glue::WebSocketStreamHandleDelegate* delegate_;
@@ -159,7 +159,7 @@
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate) {
return new IPCWebSocketStreamHandleBridge(
- ChildThread::current(), handle, delegate);
+ base::MpChildThread::current(), handle, delegate);
}
bool SocketStreamDispatcher::OnMessageReceived(const IPC::Message& msg) {
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/gpu/gpu_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698