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

Unified Diff: remoting/protocol/libjingle_transport_factory.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/libjingle_transport_factory.cc
diff --git a/remoting/protocol/libjingle_transport_factory.cc b/remoting/protocol/libjingle_transport_factory.cc
index a1f18301959d80695706922258e8e448246e0249..08721d321ece3da3acfcd873488d1b3af11fe18e 100644
--- a/remoting/protocol/libjingle_transport_factory.cc
+++ b/remoting/protocol/libjingle_transport_factory.cc
@@ -15,6 +15,7 @@
#include "net/base/net_errors.h"
#include "remoting/protocol/channel_socket_adapter.h"
#include "remoting/protocol/network_settings.h"
+#include "remoting/protocol/p2p_socket.h"
Wez 2015/06/22 15:49:07 Doesn't look like you need this include here?
Sergey Ulanov 2015/07/10 00:49:54 Done.
#include "remoting/signaling/jingle_info_request.h"
#include "third_party/webrtc/base/network.h"
#include "third_party/webrtc/p2p/base/constants.h"
@@ -236,7 +237,7 @@ void LibjingleTransport::DoStart() {
}
void LibjingleTransport::NotifyConnected() {
- // Create net::Socket adapter for the P2PTransportChannel.
+ // Create P2PDatagramSocket adapter for the P2PTransportChannel.
scoped_ptr<TransportChannelSocketAdapter> socket(
new TransportChannelSocketAdapter(channel_.get()));
socket->SetOnDestroyedCallback(base::Bind(

Powered by Google App Engine
This is Rietveld 408576698