| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
| 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "remoting/protocol/jingle_messages.h" | 12 #include "remoting/protocol/jingle_messages.h" |
| 13 #include "remoting/protocol/session_manager.h" | 13 #include "remoting/protocol/session_manager.h" |
| 14 #include "remoting/signaling/signal_strategy.h" | 14 #include "remoting/signaling/signal_strategy.h" |
| 15 | 15 |
| 16 namespace buzz { | 16 namespace buzz { |
| 17 class XmlElement; | 17 class XmlElement; |
| 18 } // namespace buzz | 18 } // namespace buzz |
| 19 | 19 |
| 20 namespace remoting { | 20 namespace remoting { |
| 21 | 21 |
| 22 class IqSender; | 22 class IqSender; |
| 23 | 23 |
| 24 namespace protocol { | 24 namespace protocol { |
| 25 | 25 |
| 26 class JingleSession; | 26 class JingleSession; |
| 27 class TransportFactory; | |
| 28 | 27 |
| 29 // JingleSessionManager and JingleSession implement the subset of the | 28 // JingleSessionManager and JingleSession implement the subset of the |
| 30 // Jingle protocol used in Chromoting. JingleSessionManager provides | 29 // Jingle protocol used in Chromoting. JingleSessionManager provides |
| 31 // the protocol::SessionManager interface for accepting incoming and | 30 // the protocol::SessionManager interface for accepting incoming and |
| 32 // creating outgoing sessions. | 31 // creating outgoing sessions. |
| 33 class JingleSessionManager : public SessionManager, | 32 class JingleSessionManager : public SessionManager, |
| 34 public SignalStrategy::Listener { | 33 public SignalStrategy::Listener { |
| 35 public: | 34 public: |
| 36 explicit JingleSessionManager(SignalStrategy* signal_strategy); | 35 explicit JingleSessionManager(SignalStrategy* signal_strategy); |
| 37 ~JingleSessionManager() override; | 36 ~JingleSessionManager() override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 71 |
| 73 SessionsMap sessions_; | 72 SessionsMap sessions_; |
| 74 | 73 |
| 75 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); | 74 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 } // namespace protocol | 77 } // namespace protocol |
| 79 } // namespace remoting | 78 } // namespace remoting |
| 80 | 79 |
| 81 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 80 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
| OLD | NEW |