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

Unified Diff: remoting/protocol/jingle_session_manager.h

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
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_manager.h
diff --git a/remoting/protocol/jingle_session_manager.h b/remoting/protocol/jingle_session_manager.h
index f52f7c56c46dde7208c0a7f1c37335931134bfc2..3ac19067bc950f111d38fc94e1da65fa86d40e21 100644
--- a/remoting/protocol/jingle_session_manager.h
+++ b/remoting/protocol/jingle_session_manager.h
@@ -33,8 +33,7 @@ class TransportFactory;
class JingleSessionManager : public SessionManager,
public SignalStrategy::Listener {
public:
- JingleSessionManager(scoped_ptr<TransportFactory> transport_factory,
- SignalStrategy* signal_strategy);
+ explicit JingleSessionManager(SignalStrategy* signal_strategy);
~JingleSessionManager() override;
// SessionManager interface.
@@ -63,8 +62,7 @@ class JingleSessionManager : public SessionManager,
// Called by JingleSession when it is being destroyed.
void SessionDestroyed(JingleSession* session);
- scoped_ptr<TransportFactory> transport_factory_;
- SignalStrategy* signal_strategy_;
+ SignalStrategy* signal_strategy_ = nullptr;
IncomingSessionCallback incoming_session_callback_;
scoped_ptr<CandidateSessionConfig> protocol_config_;
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698