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

Unified Diff: remoting/protocol/connection_to_host.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/host/simple_host_process.cc ('k') | remoting/protocol/jingle_session_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/connection_to_host.cc
diff --git a/remoting/protocol/connection_to_host.cc b/remoting/protocol/connection_to_host.cc
index 0a568f69248d50f393fb9eccf4bb5e671eeae075..586dfcdf7ebfcb2fbf17ac31857e8e777b6d11c3 100644
--- a/remoting/protocol/connection_to_host.cc
+++ b/remoting/protocol/connection_to_host.cc
@@ -81,9 +81,9 @@ void ConnectionToHost::Connect(scoped_refptr<XmppProxy> xmpp_proxy,
scoped_ptr<TransportFactory> transport_factory(
new PepperTransportFactory(pp_instance_));
- session_manager_.reset(new JingleSessionManager(transport_factory.Pass()));
- session_manager_->Init(signal_strategy_.get(), this,
- NetworkSettings(allow_nat_traversal_));
+ session_manager_.reset(new JingleSessionManager(
+ transport_factory.Pass(), true));
+ session_manager_->Init(signal_strategy_.get(), this);
}
void ConnectionToHost::Disconnect(const base::Closure& shutdown_task) {
« no previous file with comments | « remoting/host/simple_host_process.cc ('k') | remoting/protocol/jingle_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698