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 #include "remoting/protocol/jingle_session_manager.h" | 5 #include "remoting/protocol/jingle_session_manager.h" |
6 | 6 |
| 7 #include <utility> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "remoting/protocol/authenticator.h" | 10 #include "remoting/protocol/authenticator.h" |
9 #include "remoting/protocol/content_description.h" | 11 #include "remoting/protocol/content_description.h" |
10 #include "remoting/protocol/jingle_messages.h" | 12 #include "remoting/protocol/jingle_messages.h" |
11 #include "remoting/protocol/jingle_session.h" | 13 #include "remoting/protocol/jingle_session.h" |
12 #include "remoting/protocol/transport.h" | 14 #include "remoting/protocol/transport.h" |
13 #include "remoting/signaling/iq_sender.h" | 15 #include "remoting/signaling/iq_sender.h" |
14 #include "remoting/signaling/signal_strategy.h" | 16 #include "remoting/signaling/signal_strategy.h" |
15 #include "third_party/webrtc/base/socketaddress.h" | 17 #include "third_party/webrtc/base/socketaddress.h" |
16 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 18 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 signal_strategy_->SendStanza( | 146 signal_strategy_->SendStanza( |
145 JingleMessageReply(error).ToXml(original_stanza)); | 147 JingleMessageReply(error).ToXml(original_stanza)); |
146 } | 148 } |
147 | 149 |
148 void JingleSessionManager::SessionDestroyed(JingleSession* session) { | 150 void JingleSessionManager::SessionDestroyed(JingleSession* session) { |
149 sessions_.erase(session->session_id_); | 151 sessions_.erase(session->session_id_); |
150 } | 152 } |
151 | 153 |
152 } // namespace protocol | 154 } // namespace protocol |
153 } // namespace remoting | 155 } // namespace remoting |
OLD | NEW |