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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 1545743002: Move ownership of Transport out of Session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_not_pass_client
Patch Set: Created 5 years 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
Index: remoting/protocol/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index c84ca002ed8ec66ff9fbb4ebdf2c4940beb4465b..69aa96dadf059ad4d4198e5ea036d0bb000d2895 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -20,11 +20,8 @@ using buzz::QName;
namespace remoting {
namespace protocol {
-JingleSessionManager::JingleSessionManager(
- scoped_ptr<TransportFactory> transport_factory,
- SignalStrategy* signal_strategy)
- : transport_factory_(std::move(transport_factory)),
- signal_strategy_(signal_strategy),
+JingleSessionManager::JingleSessionManager(SignalStrategy* signal_strategy)
+ : signal_strategy_(signal_strategy),
protocol_config_(CandidateSessionConfig::CreateDefault()),
iq_sender_(new IqSender(signal_strategy_)) {
signal_strategy_->AddListener(this);
@@ -38,7 +35,6 @@ JingleSessionManager::~JingleSessionManager() {
void JingleSessionManager::AcceptIncoming(
const IncomingSessionCallback& incoming_session_callback) {
incoming_session_callback_ = incoming_session_callback;
-
}
void JingleSessionManager::set_protocol_config(

Powered by Google App Engine
This is Rietveld 408576698