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

Unified Diff: remoting/protocol/jingle_session.cc

Issue 10160012: Pass TransportConfig to TransportFactory instead of Transport. (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/chromoting_host.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/jingle_session.cc
diff --git a/remoting/protocol/jingle_session.cc b/remoting/protocol/jingle_session.cc
index bd3d720e6aa6ad77fdc21c8324a772182b03f190..8e067ea1ea0ce79992b663bbdf89e1950d7e3586 100644
--- a/remoting/protocol/jingle_session.cc
+++ b/remoting/protocol/jingle_session.cc
@@ -187,8 +187,7 @@ void JingleSession::CreateStreamChannel(
authenticator_->CreateChannelAuthenticator();
scoped_ptr<StreamTransport> channel =
session_manager_->transport_factory_->CreateStreamTransport();
- channel->Initialize(name, session_manager_->transport_config_,
- this, channel_authenticator.Pass());
+ channel->Initialize(name, this, channel_authenticator.Pass());
channel->Connect(callback);
channels_[name] = channel.release();
}
@@ -202,8 +201,7 @@ void JingleSession::CreateDatagramChannel(
authenticator_->CreateChannelAuthenticator();
scoped_ptr<DatagramTransport> channel =
session_manager_->transport_factory_->CreateDatagramTransport();
- channel->Initialize(name, session_manager_->transport_config_,
- this, channel_authenticator.Pass());
+ channel->Initialize(name, this, channel_authenticator.Pass());
channel->Connect(callback);
channels_[name] = channel.release();
}
« no previous file with comments | « remoting/host/chromoting_host.cc ('k') | remoting/protocol/jingle_session_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698