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

Unified Diff: remoting/protocol/pseudotcp_channel_factory.cc

Issue 1177983009: Move remoting-specific adapters from jingle/glue to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « remoting/protocol/pseudotcp_adapter_unittest.cc ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/pseudotcp_channel_factory.cc
diff --git a/remoting/protocol/pseudotcp_channel_factory.cc b/remoting/protocol/pseudotcp_channel_factory.cc
index 689db92bde51b7fc45e81acb6fc24f26d5ef66f2..1fc9ca831c149b1aee617236e0eae76fe5d42fdf 100644
--- a/remoting/protocol/pseudotcp_channel_factory.cc
+++ b/remoting/protocol/pseudotcp_channel_factory.cc
@@ -5,11 +5,11 @@
#include "remoting/protocol/pseudotcp_channel_factory.h"
#include "base/bind.h"
-#include "jingle/glue/pseudotcp_adapter.h"
#include "net/base/net_errors.h"
#include "net/socket/stream_socket.h"
#include "remoting/base/constants.h"
#include "remoting/protocol/datagram_channel_factory.h"
+#include "remoting/protocol/pseudotcp_adapter.h"
namespace remoting {
namespace protocol {
@@ -60,8 +60,7 @@ void PseudoTcpChannelFactory::OnDatagramChannelCreated(
const std::string& name,
const ChannelCreatedCallback& callback,
scoped_ptr<net::Socket> datagram_socket) {
- jingle_glue::PseudoTcpAdapter* adapter =
- new jingle_glue::PseudoTcpAdapter(datagram_socket.release());
+ PseudoTcpAdapter* adapter = new PseudoTcpAdapter(datagram_socket.Pass());
pending_sockets_[name] = adapter;
adapter->SetSendBufferSize(kTcpSendBufferSize);
« no previous file with comments | « remoting/protocol/pseudotcp_adapter_unittest.cc ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698