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

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

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 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
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "remoting/protocol/authenticator.h" 10 #include "remoting/protocol/authenticator.h"
11 #include "remoting/protocol/content_description.h" 11 #include "remoting/protocol/content_description.h"
12 #include "remoting/protocol/jingle_messages.h" 12 #include "remoting/protocol/jingle_messages.h"
13 #include "remoting/protocol/jingle_session.h" 13 #include "remoting/protocol/jingle_session.h"
14 #include "remoting/protocol/transport.h" 14 #include "remoting/protocol/transport.h"
15 #include "remoting/signaling/iq_sender.h" 15 #include "remoting/signaling/iq_sender.h"
16 #include "remoting/signaling/signal_strategy.h" 16 #include "remoting/signaling/signal_strategy.h"
17 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
18 #include "third_party/libjingle_xmpp/xmpp/constants.h"
17 #include "third_party/webrtc/base/socketaddress.h" 19 #include "third_party/webrtc/base/socketaddress.h"
18 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
19 #include "third_party/webrtc/libjingle/xmpp/constants.h"
20 20
21 using buzz::QName; 21 using buzz::QName;
22 22
23 namespace remoting { 23 namespace remoting {
24 namespace protocol { 24 namespace protocol {
25 25
26 JingleSessionManager::JingleSessionManager(SignalStrategy* signal_strategy) 26 JingleSessionManager::JingleSessionManager(SignalStrategy* signal_strategy)
27 : signal_strategy_(signal_strategy), 27 : signal_strategy_(signal_strategy),
28 protocol_config_(CandidateSessionConfig::CreateDefault()), 28 protocol_config_(CandidateSessionConfig::CreateDefault()),
29 iq_sender_(new IqSender(signal_strategy_)) { 29 iq_sender_(new IqSender(signal_strategy_)) {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 signal_strategy_->SendStanza( 147 signal_strategy_->SendStanza(
148 JingleMessageReply(error).ToXml(original_stanza.get())); 148 JingleMessageReply(error).ToXml(original_stanza.get()));
149 } 149 }
150 150
151 void JingleSessionManager::SessionDestroyed(JingleSession* session) { 151 void JingleSessionManager::SessionDestroyed(JingleSession* session) {
152 sessions_.erase(session->session_id_); 152 sessions_.erase(session->session_id_);
153 } 153 }
154 154
155 } // namespace protocol 155 } // namespace protocol
156 } // namespace remoting 156 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/jingle_session.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698