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

Side by Side Diff: remoting/protocol/jingle_session_manager.cc

Issue 435823002: Revert "Update webrtc&libjingle 6774:6799." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
OLDNEW
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 "base/bind.h" 7 #include "base/bind.h"
8 #include "remoting/protocol/authenticator.h" 8 #include "remoting/protocol/authenticator.h"
9 #include "remoting/protocol/content_description.h" 9 #include "remoting/protocol/content_description.h"
10 #include "remoting/protocol/jingle_messages.h" 10 #include "remoting/protocol/jingle_messages.h"
11 #include "remoting/protocol/jingle_session.h" 11 #include "remoting/protocol/jingle_session.h"
12 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
13 #include "remoting/signaling/iq_sender.h" 13 #include "remoting/signaling/iq_sender.h"
14 #include "remoting/signaling/signal_strategy.h" 14 #include "remoting/signaling/signal_strategy.h"
15 #include "third_party/libjingle/source/talk/base/socketaddress.h"
15 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 16 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
16 #include "third_party/webrtc/base/socketaddress.h"
17 17
18 using buzz::QName; 18 using buzz::QName;
19 19
20 namespace remoting { 20 namespace remoting {
21 namespace protocol { 21 namespace protocol {
22 22
23 JingleSessionManager::JingleSessionManager( 23 JingleSessionManager::JingleSessionManager(
24 scoped_ptr<TransportFactory> transport_factory) 24 scoped_ptr<TransportFactory> transport_factory)
25 : transport_factory_(transport_factory.Pass()), 25 : transport_factory_(transport_factory.Pass()),
26 signal_strategy_(NULL), 26 signal_strategy_(NULL),
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 signal_strategy_->SendStanza( 164 signal_strategy_->SendStanza(
165 JingleMessageReply(error).ToXml(original_stanza)); 165 JingleMessageReply(error).ToXml(original_stanza));
166 } 166 }
167 167
168 void JingleSessionManager::SessionDestroyed(JingleSession* session) { 168 void JingleSessionManager::SessionDestroyed(JingleSession* session) {
169 sessions_.erase(session->session_id_); 169 sessions_.erase(session->session_id_);
170 } 170 }
171 171
172 } // namespace protocol 172 } // namespace protocol
173 } // namespace remoting 173 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session_manager.h ('k') | remoting/protocol/libjingle_transport_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698