summaryrefslogtreecommitdiffstats
path: root/remoting/test/test_chromoting_client.cc
diff options
context:
space:
mode:
authorsergeyu <sergeyu@chromium.org>2015-10-28 13:48:43 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-28 20:50:01 +0000
commit0b6c1c8d449971599b6b9700defd96c74b60a9f8 (patch)
tree8c79ac5aa4f173eadb5946578d4434e7cb614ded /remoting/test/test_chromoting_client.cc
parent6548d1e51b9845200f9dda5d2d992ffde139984c (diff)
downloadchromium_src-0b6c1c8d449971599b6b9700defd96c74b60a9f8.zip
chromium_src-0b6c1c8d449971599b6b9700defd96c74b60a9f8.tar.gz
chromium_src-0b6c1c8d449971599b6b9700defd96c74b60a9f8.tar.bz2
Add TransportSession interface to prepare for WebRTC-based transport.
Previosly JingleSession was responsible to establishing connection with the peer and managing list of channels. Now the new IceTransportSession class (that implements TransportSession interface) is responsible for managing list of channels and so it will be possible to add support for WebRTC-based transport by adding another TransportSession implementation. There are no functional changes in this CL. BUG=547158 Committed: https://crrev.com/7a5351f4c6e407e456978f6599d475616a69fc0b Cr-Commit-Position: refs/heads/master@{#356588} Review URL: https://codereview.chromium.org/1420273002 Cr-Commit-Position: refs/heads/master@{#356638}
Diffstat (limited to 'remoting/test/test_chromoting_client.cc')
-rw-r--r--remoting/test/test_chromoting_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc
index 59a4685..e1beedf 100644
--- a/remoting/test/test_chromoting_client.cc
+++ b/remoting/test/test_chromoting_client.cc
@@ -19,7 +19,7 @@
#include "remoting/client/token_fetcher_proxy.h"
#include "remoting/protocol/chromium_port_allocator.h"
#include "remoting/protocol/host_stub.h"
-#include "remoting/protocol/libjingle_transport_factory.h"
+#include "remoting/protocol/ice_transport_factory.h"
#include "remoting/protocol/negotiating_client_authenticator.h"
#include "remoting/protocol/network_settings.h"
#include "remoting/protocol/session_config.h"
@@ -127,7 +127,7 @@ void TestChromotingClient::StartConnection(
network_settings));
scoped_ptr<protocol::TransportFactory> transport_factory(
- new protocol::LibjingleTransportFactory(
+ new protocol::IceTransportFactory(
signal_strategy_.get(), port_allocator.Pass(), network_settings,
protocol::TransportRole::CLIENT));