summaryrefslogtreecommitdiffstats
path: root/remoting/test
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/test')
-rw-r--r--remoting/test/protocol_perftest.cc10
-rw-r--r--remoting/test/test_chromoting_client.cc3
2 files changed, 6 insertions, 7 deletions
diff --git a/remoting/test/protocol_perftest.cc b/remoting/test/protocol_perftest.cc
index 6401c46..6959edb 100644
--- a/remoting/test/protocol_perftest.cc
+++ b/remoting/test/protocol_perftest.cc
@@ -235,9 +235,8 @@ class ProtocolPerfTest
GetParam().out_of_order_rate);
scoped_ptr<protocol::TransportFactory> host_transport_factory(
new protocol::LibjingleTransportFactory(
- host_signaling_.get(),
- port_allocator.Pass(),
- network_settings));
+ host_signaling_.get(), port_allocator.Pass(), network_settings,
+ protocol::TransportRole::SERVER));
scoped_ptr<protocol::SessionManager> session_manager(
new protocol::JingleSessionManager(host_transport_factory.Pass()));
@@ -306,9 +305,8 @@ class ProtocolPerfTest
GetParam().out_of_order_rate);
scoped_ptr<protocol::TransportFactory> client_transport_factory(
new protocol::LibjingleTransportFactory(
- client_signaling_.get(),
- port_allocator.Pass(),
- network_settings));
+ client_signaling_.get(), port_allocator.Pass(), network_settings,
+ protocol::TransportRole::CLIENT));
std::vector<protocol::AuthenticationMethod> auth_methods;
auth_methods.push_back(protocol::AuthenticationMethod::Spake2(
diff --git a/remoting/test/test_chromoting_client.cc b/remoting/test/test_chromoting_client.cc
index adf1093..5f2e537 100644
--- a/remoting/test/test_chromoting_client.cc
+++ b/remoting/test/test_chromoting_client.cc
@@ -191,7 +191,8 @@ void TestChromotingClient::StartConnection(
scoped_ptr<protocol::TransportFactory> transport_factory(
new protocol::LibjingleTransportFactory(
- signal_strategy_.get(), port_allocator.Pass(), network_settings));
+ signal_strategy_.get(), port_allocator.Pass(), network_settings,
+ protocol::TransportRole::CLIENT));
scoped_ptr<protocol::ThirdPartyClientAuthenticator::TokenFetcher>
token_fetcher(new TokenFetcherProxy(