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

Unified Diff: remoting/protocol/channel_dispatcher_base.cc

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
Index: remoting/protocol/channel_dispatcher_base.cc
diff --git a/remoting/protocol/channel_dispatcher_base.cc b/remoting/protocol/channel_dispatcher_base.cc
index 575b1e57913206218e774cd82976e21ce29f2745..24345dc73dcc35ade1d86c2a550b6bb4e8621110 100644
--- a/remoting/protocol/channel_dispatcher_base.cc
+++ b/remoting/protocol/channel_dispatcher_base.cc
@@ -5,7 +5,7 @@
#include "remoting/protocol/channel_dispatcher_base.h"
#include "base/bind.h"
-#include "net/socket/stream_socket.h"
+#include "remoting/protocol/p2p_socket.h"
#include "remoting/protocol/session.h"
#include "remoting/protocol/session_config.h"
#include "remoting/protocol/stream_channel_factory.h"
@@ -49,7 +49,7 @@ void ChannelDispatcherBase::Init(Session* session,
}
void ChannelDispatcherBase::OnChannelReady(
- scoped_ptr<net::StreamSocket> socket) {
+ scoped_ptr<P2PStreamSocket> socket) {
if (!socket.get()) {
event_handler_->OnChannelError(this, CHANNEL_CONNECTION_ERROR);
return;

Powered by Google App Engine
This is Rietveld 408576698