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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 10233021: Move PortAllocator creation out of LibjingleTransportFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/jingle_session_manager.cc ('k') | remoting/protocol/libjingle_transport_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index d0453da4ea1bf061039d60e0715af04c71d3351c..207efcf93df0993191537c94c049624b0108a37f 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -139,9 +139,9 @@ class JingleSessionTest : public testing::Test {
EXPECT_CALL(host_server_listener_, OnSessionManagerReady())
.Times(1);
host_server_.reset(new JingleSessionManager(
- scoped_ptr<TransportFactory>(new LibjingleTransportFactory())));
- host_server_->Init(host_signal_strategy_.get(), &host_server_listener_,
- NetworkSettings(false));
+ scoped_ptr<TransportFactory>(new LibjingleTransportFactory()),
+ false));
+ host_server_->Init(host_signal_strategy_.get(), &host_server_listener_);
scoped_ptr<AuthenticatorFactory> factory(
new FakeHostAuthenticatorFactory(auth_round_trips, auth_action, true));
@@ -150,10 +150,9 @@ class JingleSessionTest : public testing::Test {
EXPECT_CALL(client_server_listener_, OnSessionManagerReady())
.Times(1);
client_server_.reset(new JingleSessionManager(
- scoped_ptr<TransportFactory>(new LibjingleTransportFactory())));
+ scoped_ptr<TransportFactory>(new LibjingleTransportFactory()), false));
client_server_->Init(client_signal_strategy_.get(),
- &client_server_listener_, NetworkSettings(
- TransportConfig::NAT_TRAVERSAL_OUTGOING));
+ &client_server_listener_);
}
void CloseSessionManager() {
« no previous file with comments | « remoting/protocol/jingle_session_manager.cc ('k') | remoting/protocol/libjingle_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698